Commit 1b12f2a0 authored by Sriram Karra's avatar Sriram Karra

pychecker catch: unused variable warning; cleanup method body

parent 7fdb6da8
......@@ -376,11 +376,7 @@ class SyncLists:
self.dels.update({f1id : f2id})
def entry_exists (self, f1id):
val = self.all[f1id]
return True
except KeyError, e:
return False
return f1id in self.all
def add_entry (self, f1id, f2id):
self.add_etag(f1id, f2id)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment