Changeset - 712610e082e2
[Not reviewed]
beta
0 4 0
Marcin Kuzminski - 12 years ago 2013-05-22 02:57:52
marcin@python-works.com
fix unreachable code errors
4 files changed with 0 insertions and 6 deletions:
0 comments (0 inline, 0 general)
rhodecode/bin/rhodecode_gist.py
Show inline comments
 
@@ -162,7 +162,6 @@ def main(argv=None):
 
    try:
 
        return _run(argv)
 
    except Exception, e:
 
        raise
 
        print e
 
        return 1
 

	
rhodecode/lib/utils2.py
Show inline comments
 
@@ -281,8 +281,6 @@ def safe_str(unicode_, to_encoding=None)
 
    except (ImportError, UnicodeEncodeError):
 
        return unicode_.encode(to_encoding[0], 'replace')
 

	
 
    return safe_str
 

	
 

	
 
def remove_suffix(s, suffix):
 
    if s.endswith(suffix):
rhodecode/lib/vcs/utils/__init__.py
Show inline comments
 
@@ -149,8 +149,6 @@ def safe_str(unicode_, to_encoding=None)
 
    except (ImportError, UnicodeEncodeError):
 
        return unicode_.encode(to_encoding[0], 'replace')
 

	
 
    return safe_str
 

	
 

	
 
def author_email(author):
 
    """
rhodecode/tests/scripts/test_concurency.py
Show inline comments
 
@@ -217,5 +217,4 @@ if __name__ == '__main__':
 
                                        seq=seq, backend=backend)
 
        print 'time taken %.3f' % (time.time() - s)
 
    except Exception, e:
 
        raise
 
        sys.exit('stop on %s' % e)
0 comments (0 inline, 0 general)