summaryrefslogtreecommitdiffstats
path: root/src/fedpkg/__init__.py
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-01-04 14:51:46 -0800
committerJesse Keating <jkeating@redhat.com>2010-01-04 14:51:46 -0800
commit76a0095c50ac1ef170d33b744123c4aa123d7ae8 (patch)
treee8600e66a60e554c3722d56af1493b6035d6f6f7 /src/fedpkg/__init__.py
parent58385c0d32910558c18502c585eb30fab6380e97 (diff)
downloadfedpkg-76a0095c50ac1ef170d33b744123c4aa123d7ae8.tar.gz
fedpkg-76a0095c50ac1ef170d33b744123c4aa123d7ae8.tar.xz
fedpkg-76a0095c50ac1ef170d33b744123c4aa123d7ae8.zip
Whitespace clean up
Diffstat (limited to 'src/fedpkg/__init__.py')
-rw-r--r--src/fedpkg/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fedpkg/__init__.py b/src/fedpkg/__init__.py
index 296e343..f3a3a40 100644
--- a/src/fedpkg/__init__.py
+++ b/src/fedpkg/__init__.py
@@ -96,6 +96,7 @@ def clone_with_dirs(module, user):
class PackageModule:
def _findbranch(self):
"""Find the branch we're on"""
+
if not os.path.exists(os.path.join(self.path, 'branch')):
return 'devel'
branch = open(os.path.join(self.path, 'branch'), 'r').read().strip()
@@ -261,7 +262,7 @@ class PackageModule:
Requires sources already downloaded.
"""
-
+
cmd = ['rpmbuild']
cmd.extend(self.rpmdefines)
# This may need to get updated if we ever change our checksum default