oops invalid syntax

This commit is contained in:
Romain Bignon 2011-04-26 13:17:39 +02:00
commit 7602f0c1cc

View file

@ -41,7 +41,7 @@ class BackendsConfig(object):
try: try:
mode = os.stat(confpath).st_mode mode = os.stat(confpath).st_mode
except OSError: except OSError:
if if sys.platform == 'win32': if sys.platform == 'win32':
fptr = open(confpath,'w') fptr = open(confpath,'w')
fptr.close() fptr.close()
elif re.match('freebsd[0-9]*', sys.platform): elif re.match('freebsd[0-9]*', sys.platform):