]> git.phdru.name Git - xsetbg.git/commitdiff
Minor change - removed excessive spaces before commas.
authorOleg Broytman <phd@phdru.name>
Tue, 1 Sep 2009 22:41:00 +0000 (22:41 +0000)
committerOleg Broytman <phd@phdru.name>
Tue, 1 Sep 2009 22:41:00 +0000 (22:41 +0000)
git-svn-id: file:///home/phd/archive/SVN/xsetbg/trunk@30 143022c7-580b-0410-bae3-87f2bf5d3141

xsetbg.py

index efebc85caed082ab31f164909f20fb43a979bcfa..5593d3dfeff4ec761273be56c16a1ab8ef8e7901 100755 (executable)
--- 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()