Am 17/10/2014 15:14, schrieb Matthias Dittrich: > Renamed undefined "logger" symbol to "log" and the undefined "reg_end" symbol > to "rev_end". good catches, thanks. Maybe (just as an idea, no need to change the patch) it would also make sense to integrate a pycharm run into the testing framework, or require it as a pre-commit hook for python code. --Wolfgang > > Signed-off-by: Matthias Dittrich <matthi.d@xxxxxxxxx> > --- > codeface/VCS.py | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/codeface/VCS.py b/codeface/VCS.py > index 3522de5..5229981 100644 > --- a/codeface/VCS.py > +++ b/codeface/VCS.py > @@ -226,7 +226,7 @@ class gitVCS (VCS): > project including all subsystems) is stored under "__main__". > """ > if self.repo == None: > - logger.critical("Repository unset in Git VCS") > + log.critical("Repository unset in Git VCS") > raise Error("Can't do anything without repo") > > ## Retrieve and store the commit timestamp for the revision range > @@ -338,7 +338,7 @@ class gitVCS (VCS): > revrange = "" > > if rev_start == None and rev_end != None: > - revrange += reg_end > + revrange += rev_end > else: > if rev_start: > revrange += "{0}..".format(rev_start) > @@ -1115,7 +1115,7 @@ class gitVCS (VCS): > rev_start = self.rev_start > rev_end = self.rev_end > if rev_start == None and rev_end != None: > - revrange += reg_end > + revrange += rev_end > else: > if rev_start: > revrange += "{0}..".format(rev_start) >