Skip to content

Commit

Permalink
Do not try to cover Python 2.5 compat code
Browse files Browse the repository at this point in the history
  • Loading branch information
kruton committed Mar 2, 2016
1 parent 0a51b26 commit 3917b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android2po/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def rel(self):
"""Return this path relative to the base it was bound to.
"""
base = self.base or os.getcwd()
if not hasattr(path, 'relpath'):
if not hasattr(path, 'relpath'): # pragma: no cover
# Python < 2.6 doesn't have relpath, and I don't want
# to bother with a wbole bunch of code for this. See
# if we can simply remove the prefix, and if not, 2.5
Expand Down

0 comments on commit 3917b58

Please sign in to comment.