Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
agateau committed Dec 16, 2011
1 parent a5acf6c commit 5f18f14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vcardedit.py
Expand Up @@ -69,15 +69,14 @@ def main():

for card in vobject.readComponents(src_file):
if not "fn" in card.contents:
print "no FN in", card, "skipping"
print "no FN in", card, "discarding"
continue
keep = action(card)
if keep:
dst_file.write(card.serialize())
dst_file.write("\r\n")
return 0


if __name__ == "__main__":
sys.exit(main())
# vi: ts=4 sw=4 et

0 comments on commit 5f18f14

Please sign in to comment.