projects
/
lsb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
875a749
)
PyUT3: Fix rnd_string to use ascii_letters and range instead of letters and xrange.
author
Didier Raboud
<odyx@debian.org>
Wed, 23 May 2012 09:26:25 +0000
(11:26 +0200)
committer
Didier Raboud
<odyx@debian.org>
Wed, 23 May 2012 12:56:48 +0000
(14:56 +0200)
Git-Dch: None
test/test_lsb_release.py
patch
|
blob
|
history
diff --git
a/test/test_lsb_release.py
b/test/test_lsb_release.py
index 87e5af09f6d5d9126bc254d9e66c07832fb45c91..7e85769615a642f18574b4bd337ce80c719ef50d 100644
(file)
--- a/
test/test_lsb_release.py
+++ b/
test/test_lsb_release.py
@@
-9,7
+9,7
@@
import string
import os
def rnd_string(min_l,max_l):
- return ''.join( [random.choice(string.
letters) for i in x
range(random.randint(min_l,max_l))])
+ return ''.join( [random.choice(string.
ascii_letters) for i in
range(random.randint(min_l,max_l))])
def get_arch_distinfo():
# Copied verbatim from guess_debian_release; sucks but unavoidable.