##// END OF EJS Templates
fix unreachable code errors
marcink -
r3885:712610e0 beta
parent child Browse files
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):
@@ -149,8 +149,6 b' def safe_str(unicode_, to_encoding=None)'
149 149 except (ImportError, UnicodeEncodeError):
150 150 return unicode_.encode(to_encoding[0], 'replace')
151 151
152 return safe_str
153
154 152
155 153 def author_email(author):
156 154 """
@@ -217,5 +217,4 b" if __name__ == '__main__':"
217 217 seq=seq, backend=backend)
218 218 print 'time taken %.3f' % (time.time() - s)
219 219 except Exception, e:
220 raise
221 220 sys.exit('stop on %s' % e)
General Comments 0
You need to be logged in to leave comments. Login now