From 7e5e2fc5dbff029a0420fb73f5038047d9f7c1c0 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 28 Jun 2008 02:38:33 +0000 Subject: Make cache-file umask configurable. svn:r286 --- rank.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rank.py') diff --git a/rank.py b/rank.py index 16e1d8f..76ca181 100644 --- a/rank.py +++ b/rank.py @@ -125,6 +125,8 @@ if __name__ == '__main__': # First download the bibliography file. import BibTeX config.load(sys.argv[1]) + if config.CACHE_UMASK != None: + os.umask(config.CACHE_UMASK) bib = BibTeX.parseFile(config.MASTER_BIB) remove_old() print "Downloading missing ranks." -- cgit v1.2.3-70-g09d2