aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2019-06-09 00:35:54 +0300
committerMykyta Holubakha <hilobakho@gmail.com>2019-06-09 00:35:54 +0300
commit75b70897ff9ce7dcd6db66ee8e4d5118822a6f66 (patch)
tree86bab3286956988605a5a8633fed1fe818b8c275 /pomu/package.py
parentDisabled standalone mode (diff)
downloadpomu-75b70897ff9ce7dcd6db66ee8e4d5118822a6f66.tar.gz
pomu-75b70897ff9ce7dcd6db66ee8e4d5118822a6f66.tar.bz2
pomu-75b70897ff9ce7dcd6db66ee8e4d5118822a6f66.zip
cli: argument passing fixes
sources: fix custom names fixed version string generation and version search ensure import -> change -> commit workflow works
Diffstat (limited to 'pomu/package.py')
-rw-r--r--pomu/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pomu/package.py b/pomu/package.py
index e145b88..4b2ee5f 100644
--- a/pomu/package.py
+++ b/pomu/package.py
@@ -95,7 +95,8 @@ class Package():
return Result.Ok().and_(self.apply_patches())
def patch(self, patch):
- list_add(self.patches, patch)
+ if patch:
+ list_add(self.patches, patch)
def apply_patches(self, revert=False):
"""Applies a sequence of patches at the root (after merging)"""