Show More
@@ -162,7 +162,6 b' def main(argv=None):' | |||
|
162 | 162 | try: |
|
163 | 163 | return _run(argv) |
|
164 | 164 | except Exception, e: |
|
165 | raise | |
|
166 | 165 | print e |
|
167 | 166 | return 1 |
|
168 | 167 |
@@ -281,8 +281,6 b' def safe_str(unicode_, to_encoding=None)' | |||
|
281 | 281 | except (ImportError, UnicodeEncodeError): |
|
282 | 282 | return unicode_.encode(to_encoding[0], 'replace') |
|
283 | 283 | |
|
284 | return safe_str | |
|
285 | ||
|
286 | 284 | |
|
287 | 285 | def remove_suffix(s, suffix): |
|
288 | 286 | if s.endswith(suffix): |
General Comments 0
You need to be logged in to leave comments.
Login now