1082 |
text = "Your version is %s\n" % config.VERSION |
text = "Your version is %s\n" % config.VERSION |
1083 |
try: |
try: |
1084 |
v.check() |
v.check() |
1085 |
text += "Latest version is %s\n" % v.latest |
if config.VERSION==v.latest: |
1086 |
if v.info: |
text += "You are running the latest released version" |
1087 |
text += "Get more info at %s\n" % v.info |
else: |
1088 |
if v.download: |
text += "Latest version is %s\n" % v.latest |
1089 |
text += "Download from %s\n" % v.download |
if v.info: |
1090 |
|
text += "Get more info at %s\n" % v.info |
1091 |
|
if v.download: |
1092 |
|
text += "Download from %s\n" % v.download |
1093 |
except Exception, e: |
except Exception, e: |
1094 |
text += "\nUnable to check version\n" |
text += "\nUnable to check version\n" |
1095 |
text += str(e) |
text += str(e) |