1 diff -r 833ce4f1009a -r f91d4163da69 timedrive/settingsdialog.py
2 --- a/timedrive/settingsdialog.py Tue Jul 12 08:24:03 2011 -0700
3 +++ b/timedrive/settingsdialog.py Tue Jul 12 08:01:08 2011 -0700
5 if excludePattern == None:
8 - if not self._Validate.check(self._Validate.REGEX, excludePattern):
9 + if not self._Validate.check(self.Validate.REGEX, excludePattern):
10 QtGui.QMessageBox.warning(self, _("Invalid"), _("Invalid regular expressions"))
12 e = excludeitem.ExcludeItem(excludePattern, excludeType)
14 - import traceback, sys
15 - tp, val, tb = sys.exc_info()
16 - traceback.print_exception(tp,val,tb)
18 QtGui.QMessageBox.warning(self, _("Exception"), _("Error regular expressions"))
20 elif excludeType == excludeitem.ExcludeItem.FOLDER:
22 elif excludeType == excludeitem.ExcludeItem.FILE:
23 e = excludeitem.ExcludeItem(excludePattern, excludeType)
27 \ No newline at end of file