summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
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]