summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-10-29 14:46:46 +0100
committerMichał Górny <mgorny@gentoo.org>2017-10-29 14:46:46 +0100
commit9284888ce12188bbe7c3a1865e254db820d24519 (patch)
treed5cbe1ad997a50b0e98327c91397246fe94abade
parenta2b39ee9200e828aa019b455d9521e7b0e2aa74f (diff)
downloadgemato-9284888ce12188bbe7c3a1865e254db820d24519.tar.gz
cli: Sort Manifests
-rw-r--r--gemato/cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gemato/cli.py b/gemato/cli.py
index 21c984f..a011aa7 100644
--- a/gemato/cli.py
+++ b/gemato/cli.py
@@ -122,7 +122,7 @@ def do_update(args):
if ts is not None:
ts.ts = datetime.datetime.utcnow()
- m.save_manifests()
+ m.save_manifests(sort=True)
except gemato.exceptions.ManifestCrossDevice as e:
logging.error(str(e))
return 1
@@ -168,7 +168,7 @@ def do_create(args):
if ts is not None:
ts.ts = datetime.datetime.utcnow()
- m.save_manifests()
+ m.save_manifests(sort=True)
except gemato.exceptions.ManifestCrossDevice as e:
logging.error(str(e))
return 1