Mercurial > pylearn
diff __init__.py @ 302:675d92789941
debugging source-version function
author | James Bergstra <bergstrj@iro.umontreal.ca> |
---|---|
date | Tue, 10 Jun 2008 11:02:22 -0400 |
parents | 57c45df381f1 |
children | 410a6ef674ed |
line wrap: on
line diff
--- a/__init__.py Tue Jun 10 11:01:00 2008 -0400 +++ b/__init__.py Tue Jun 10 11:02:22 2008 -0400 @@ -51,7 +51,7 @@ assert len(tokens) >= 1 assert tokens[0][-1] != '+' # the trailing + indicates uncommitted changes if len(tokens) == 2: - assert tokens[1] == 'tip' + assert tokens[1] == 'tip\n' return tokens[0]