summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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