summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
authorAbhishek Mukherjee <linkinpark342@gmail.com>2009-02-08 01:21:24 -0500
committerAbhishek Mukherjee <linkinpark342@gmail.com>2009-02-08 01:21:24 -0500
commitc2a53f42233050c3258e9995202458f7c7978aa8 (patch)
tree200467134c8de1d57b108775656ab765ea50112d /rpmbuild-remote.py
parentb2b9dadea47308390a6fc11a35476e25100710fd (diff)
downloadrpmbuild-remote-c2a53f42233050c3258e9995202458f7c7978aa8.tar.gz
rpmbuild-remote-c2a53f42233050c3258e9995202458f7c7978aa8.tar.xz
rpmbuild-remote-c2a53f42233050c3258e9995202458f7c7978aa8.zip
Changed default for --mock to "" rather than None
Diffstat (limited to 'rpmbuild-remote.py')
-rw-r--r--rpmbuild-remote.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py
index f24cb8c..ed3e679 100644
--- a/rpmbuild-remote.py
+++ b/rpmbuild-remote.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-from iniparse import INIConfig
+#from iniparse import INIConfig
import logging
import paramiko
import optparse
@@ -39,7 +39,7 @@ def get_parser():
"[Default: ~/rpmbuild-remote/]")
parser.add_option("-m", "--mock",
action="store", type="string", dest="mock",
- default=None,
+ default="",
help="Use mock (only applies to SRPM files) [Default: No mock "
"builds (uses rpmbuild --rebuild otherwise)]")
return parser