diff options
author | Alec Warner <antarus@gentoo.org> | 2006-04-07 00:48:59 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2006-04-07 00:48:59 +0000 |
commit | a7972f2f756788f50e71bb2a9e985f77fd140c5b (patch) | |
tree | 46a547e32c85f7391ebe96739dc0b81a40590334 /pym/portage_locks.py | |
parent | 87010f8d058c843787587dac8d7404072e771ca0 (diff) | |
download | portage-a7972f2f756788f50e71bb2a9e985f77fd140c5b.tar.gz portage-a7972f2f756788f50e71bb2a9e985f77fd140c5b.tar.bz2 portage-a7972f2f756788f50e71bb2a9e985f77fd140c5b.zip |
Change == None to is None
svn path=/main/trunk/; revision=3085
Diffstat (limited to 'pym/portage_locks.py')
-rw-r--r-- | pym/portage_locks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_locks.py b/pym/portage_locks.py index fcf503aeb..30946c437 100644 --- a/pym/portage_locks.py +++ b/pym/portage_locks.py @@ -154,7 +154,7 @@ def unlockfile(mytuple): return False try: - if myfd == None: + if myfd is None: myfd = os.open(lockfilename, os.O_WRONLY,0660) unlinkfile = 1 locking_method(myfd,fcntl.LOCK_UN) |