X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Ftransitions.py;fp=dak%2Ftransitions.py;h=a5b8fa3529edda25a90f5bab80ebcd2f98b0e8e7;hb=f8783d3e7d165814889a64278dc31388b99c0b89;hp=9d21a562ce68db8d548dc09ad0e0fc7fb71838f0;hpb=27e00376e81d1c37ff327ee0d39670b266418869;p=dak.git diff --git a/dak/transitions.py b/dak/transitions.py index 9d21a562..a5b8fa35 100755 --- a/dak/transitions.py +++ b/dak/transitions.py @@ -319,7 +319,7 @@ def temp_transitions_file(transitions): """ (fd, path) = tempfile.mkstemp("", "transitions", Cnf["Dir::TempPath"]) - os.chmod(path, 0644) + os.chmod(path, 0o644) f = open(path, "w") yaml.dump(transitions, f, default_flow_style=False) return path