From: Ciaran Gultnieks Date: Sat, 23 Nov 2013 10:56:58 +0000 (+0000) Subject: Permission check correct file X-Git-Tag: 0.1~155 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=02314092244802b7dc39cc0059a209f3e477daf0;p=fdroidserver.git Permission check correct file --- diff --git a/fdroidserver/common.py b/fdroidserver/common.py index f46880b2..c7f3052a 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -47,7 +47,7 @@ def read_config(opts, config_file='config.py'): sys.exit(2) st = os.stat(config_file) if st.st_mode & stat.S_IRWXG or st.st_mode & stat.S_IRWXO: - print "WARNING: unsafe permissions on config.py (should be 0600)!" + print "WARNING: unsafe permissions on {0} (should be 0600)!".format(config_file) options = opts if not hasattr(options, 'verbose'):