Skip to content

Commit

Permalink
more python3 string fixes
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@6181 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Apr 27, 2014
1 parent 6c75e1a commit 0cc6a78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xpra/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,12 @@ def print_leaks():
def std(_str, extras="-,./ "):
def f(v):
return str.isalnum(str(v)) or v in extras
return filter(f, _str)
return "".join(filter(f, _str))

def alnum(_str):
def f(v):
return str.isalnum(str(v))
return filter(f, _str)
return "".join(filter(f, _str))

def nn(x):
if x is None:
Expand Down

0 comments on commit 0cc6a78

Please sign in to comment.