Fixed patch for Curses vs Urwid version handling (fix-urwid-version-msg.diff)

Previous patches were wrongly modified ...

download
# HG changeset patch
# User "Emile Anclin" <emile.anclin@laposte.net>
# Parent f5b7b86026ed4315352c5bf504ed298dcbcdff00
[curses] fix again URWID_VERSION message

diff -r f5b7b86026ed hgviewlib/curses/application.py
--- a/hgviewlib/curses/application.py	Mon Aug 11 22:31:27 2014 +0200
+++ b/hgviewlib/curses/application.py	Mon Aug 11 22:41:52 2014 +0200
@@ -58,10 +58,10 @@
 
     def get_screen(self):
         """return the screen instance to use"""
-        if self.opts.interface == 'curses' and URWID_VERSION < (1, 2, 0):
+        if self.opts.interface == 'curses' and URWID_VERSION < (1, 0, 0):
             raise ApplicationError('The "curses" interface can not be used '
                                    'with old installed urwid version '
-                                   '%s < 1.0.0. Use the "raw" interface'
+                                   '%s.%s.%s < 1.0.0. Use the "raw" interface'
                                    % URWID_VERSION)
         if self.opts.interface == 'raw':
             from urwid.raw_display import Screen