Various Python cleanups

Fixes:
* Unused import
* Redundant backslash
* Use of discouraged if not x in y
* Use of deprecated form of raising exceptions

Follow-up to PR #655 as requested by @gribozavr
This commit is contained in:
practicalswift
2015-12-22 21:05:47 +01:00
parent 37b827c8c5
commit 4f2496e1a6
5 changed files with 8 additions and 15 deletions

View File

@@ -1,8 +1,3 @@
import sys
import json
import itertools
class Pass(object):
def __init__(self, name):
self.name = name