X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fholding.py;h=6c9ce570a863319bde2e3bef679ddcbe264f94eb;hb=f8783d3e7d165814889a64278dc31388b99c0b89;hp=221a25775a2832bcbea206ad18ffb7e9700687c3;hpb=27e00376e81d1c37ff327ee0d39670b266418869;p=dak.git diff --git a/daklib/holding.py b/daklib/holding.py index 221a2577..6c9ce570 100644 --- a/daklib/holding.py +++ b/daklib/holding.py @@ -58,7 +58,7 @@ class Holding(object): dest = os.path.join(self.holding_dir, base_filename) try: - fd = os.open(dest, os.O_RDWR | os.O_CREAT | os.O_EXCL, 0640) + fd = os.open(dest, os.O_RDWR | os.O_CREAT | os.O_EXCL, 0o640) os.close(fd) except OSError as e: # Shouldn't happen, but will if, for example, someone lists a