From: Oleg Broytman Date: Tue, 1 Sep 2009 22:41:00 +0000 (+0000) Subject: Minor change - removed excessive spaces before commas. X-Git-Tag: v4.0.0~38 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=981dead033d19d87792c00e28639c693bee1bd1d;p=xsetbg.git Minor change - removed excessive spaces before commas. git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@30 143022c7-580b-0410-bae3-87f2bf5d3141 --- diff --git a/xsetbg.py b/xsetbg.py index efebc85..5593d3d 100755 --- a/xsetbg.py +++ b/xsetbg.py @@ -154,7 +154,7 @@ def run(): # lock it to prevent two processes run in parallel. lock_file = open("xsetbg.py", 'r') try: - flock(lock_file , LOCK_EX|LOCK_NB) + flock(lock_file, LOCK_EX|LOCK_NB) except IOError: # already locked lock_file.close() return @@ -199,7 +199,7 @@ def run(): finally: # Unlock and close the lock file - flock(lock_file , LOCK_UN) + flock(lock_file, LOCK_UN) lock_file.close() # Flush and close the global persistent dictionary if global_db: global_db.close()