1. TortoiseHg
  2. TortoiseHg
  3. thg
  4. Issues
Issue #41 resolved

Syntax error on except:

Leontius Adhika Pradhana
created an issue



Please report this bug to http://bitbucket.org/tortoisehg/thg/issues Mercurial version (1.7.2). TortoiseHg version (1.9+60-4a41c1a78af3) Command: CWD: /home/leon Extensions loaded: Python version: 2.7.1 (r271:86832, Dec 2 2010, 03:10:07) [GCC 4.5.1 20101125 (prerelease)] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/thgrepo.py", line 88, in timerEvent self.pollStatus() File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/thgrepo.py", line 98, in pollStatus self._checkuimtime() File "/usr/lib/python2.7/site-packages/tortoisehg/hgqt/thgrepo.py", line 194, in _checkuimtime if max(mtime) > oldmtime: ValueError: max() arg is an empty sequence


Line 198 of tortoisehg/hgqt/thgrepo.py should be {{{except (EnvironmentError, ValueError):}}}