From 8d6ce790e8a7e1caffbdda97cea4748a71aa4eb5 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 12 Aug 2011 13:07:40 +0200 Subject: [PATCH] Time: Remove useless/bad/wrong error message from @tztime. --- plugins/Time/plugin.py | 2 -- src/version.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/Time/plugin.py b/plugins/Time/plugin.py index c7cdc8b7b..b1258a912 100644 --- a/plugins/Time/plugin.py +++ b/plugins/Time/plugin.py @@ -171,8 +171,6 @@ class Time(callbacks.Plugin): except ImportError: irc.error(_('Python-tz is required by the command, but is not ' 'installed on this computer.')) - if len(timezone.split('/')) != 2: - irc.error(_('A timezone must be in the format region/city.')) try: timezone = pytz.timezone(timezone) except pytz.UnknownTimeZoneError: diff --git a/src/version.py b/src/version.py index 3d0bd04bf..fea00c0d4 100644 --- a/src/version.py +++ b/src/version.py @@ -1,3 +1,3 @@ """stick the various versioning attributes in here, so we only have to change them once.""" -version = '0.83.4.1+limnoria (2011-08-10T17:23:59+0200)' +version = '0.83.4.1+limnoria (2011-08-12T13:07:40+0200)'