summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-09-10 15:30:27 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-09-10 15:30:27 -0400
commit67644d859668ddf9bcfbb6bfdca389f86dc9a3e2 (patch)
tree5ac8e85c357f4f9b20a5553159297899809db2d0 /rpmbuild-remote.py
parent02774e8b025fae3454883a072f21496b31d5985d (diff)
downloadrpmbuild-remote-67644d859668ddf9bcfbb6bfdca389f86dc9a3e2.zip
rpmbuild-remote-67644d859668ddf9bcfbb6bfdca389f86dc9a3e2.tar.gz
rpmbuild-remote-67644d859668ddf9bcfbb6bfdca389f86dc9a3e2.tar.xz
License under GPLv2+HEADmaster
Diffstat (limited to 'rpmbuild-remote.py')
-rwxr-xr-xrpmbuild-remote.py17
1 files changed, 16 insertions, 1 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py
index 45ac4d2..9edf72e 100755
--- a/rpmbuild-remote.py
+++ b/rpmbuild-remote.py
@@ -1,5 +1,19 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+# Copyright (C) 2009 Ben Boeckel <MathStuf@gmail.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
import ConfigParser
import logging
@@ -205,7 +219,8 @@ def main():
parser = get_parser()
opts, args = parser.parse_args()
log_level = LOGGING_LEVELS.get(opts.verbose, logging.NOTSET)
- logging.basicConfig(filename=opts.log_file, level=log_level)
+ #logging.basicConfig(filename=opts.log_file, level=log_level)
+ logging.basicConfig(level=log_level)
jobs = []
for arg in args:
ext = os.path.splitext(arg)[1]