From 9f4a4b0eb0272cfc48c7bca03b13c2dbc19c5696 Mon Sep 17 00:00:00 2001 From: "beville@gmail.com" Date: Sat, 6 Apr 2013 19:31:00 +0000 Subject: [PATCH] More version checking stuff git-svn-id: http://comictagger.googlecode.com/svn/trunk@585 6c5673fe-1810-88d6-992b-cd32ca31540c --- comictaggerlib/utils.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/comictaggerlib/utils.py b/comictaggerlib/utils.py index 8d1f042..75d960a 100644 --- a/comictaggerlib/utils.py +++ b/comictaggerlib/utils.py @@ -25,7 +25,6 @@ import re import platform import locale import codecs -import urllib,urllib2 class UtilsVars: already_fixed_encoding = False @@ -627,15 +626,3 @@ if qt_available: vpos = ( main_window_size.height() - window.height() ) / 2 # And the move call repositions the window window.move(hpos + main_window_size.left(), vpos + main_window_size.top()) - - def getLatestVersion(): - try: - resp = urllib2.urlopen( "https://comictagger.googlecode.com/svn/trunk/current_version.txt" ) - new_version = resp.read() - except Exception as e: - return None - - if new_version is None or new_version == "": - return None - - return new_version.strip() \ No newline at end of file