summaryrefslogtreecommitdiff
path: root/morphlib/buildbranch.py
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-03-13 14:25:00 +0000
committerJavier Jardón <jjardon@gnome.org>2015-03-13 14:26:04 +0000
commit5903c4ea34849985b62d2f67423ae2bd32d7d13b (patch)
treed9511cc6e465ec95cc4fe9c75d8e0180ba388019 /morphlib/buildbranch.py
parentfe1a92080ecdde3d1375ed24878849f3d14292d0 (diff)
downloadmorph-5903c4ea34849985b62d2f67423ae2bd32d7d13b.tar.gz
Use python3 compatible notation for octal constants
Change-Id: I771c3de9cecda7a503f4d36ae5d9fabc040892e4
Diffstat (limited to 'morphlib/buildbranch.py')
-rw-r--r--morphlib/buildbranch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/buildbranch.py b/morphlib/buildbranch.py
index 2482bc9a..ae118704 100644
--- a/morphlib/buildbranch.py
+++ b/morphlib/buildbranch.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2013-2014 Codethink Limited
+# Copyright (C) 2013-2015 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -115,7 +115,7 @@ class BuildBranch(object):
for morphology in morphologies:
loader.unset_defaults(morphology)
sha1 = gd.store_blob(loader.save_to_string(morphology))
- yield 0100644, sha1, morphology.filename
+ yield 0o100644, sha1, morphology.filename
def inject_build_refs(self, loader, use_local_repos,
inject_cb=lambda **kwargs: None):