Skip to content

Commit

Permalink
can't mix arrays and tuples!
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@3878 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 18, 2013
1 parent d2b35a8 commit ba2922a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/xpra/version_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ def is_compatible_with(remote_version):
if rv==lv:
log("identical remote version: %s", remote_version)
return True
if rv[:2]<=(0, 2):
if rv[:2]<=[0, 2]:
#0.3 is the oldest version we support
log("remote version %s is too old, sorry", remote_version)
log("remote version %s is too old, sorry", rv[:2])
return False
if rv[0:3]<=(0, 7, 8):
if rv[0:3]<=[0, 7, 8]:
log("WARNING: the remote version %s is old and broken, upgrade to the latest stable version", remote_version)
return True
if rv[0]>0:
Expand Down

0 comments on commit ba2922a

Please sign in to comment.