summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2010-10-23 00:42:25 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2010-10-23 00:42:25 +0100
commit852fae409f8af5d32ef01a4f108847766838771d (patch)
tree0c823148764935753eb2d66afd4514c2f8bb74ea
parentdfa1c7f32cb96796976cc8edb14fd5b19a17a3b2 (diff)
downloadpykolab-852fae409f8af5d32ef01a4f108847766838771d.tar.gz
=> becomes >=
-rw-r--r--pykolab/tests/create-contacts.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pykolab/tests/create-contacts.py b/pykolab/tests/create-contacts.py
index b58f4fa..35852e6 100644
--- a/pykolab/tests/create-contacts.py
+++ b/pykolab/tests/create-contacts.py
@@ -46,18 +46,18 @@ if __name__ == "__main__":
domain = domains[random.randint(0,2)]
birthday = ""
- if random.randint(0,100) => 75:
+ if random.randint(0,100) >= 75:
year = str(random.randint(1960, 2010))
month = str(random.randint(1,12))
day = str(random.randint(1,27))
birthday = "%s-%s-%s" % (year, month, day)
middle_names = ""
- if random.randint(0,100) => 50:
+ if random.randint(0,100) >= 50:
middle_names = random.sample(alphabet, (4, 8)).capitalize()
number = ""
- if random.randint(0,100) => 25:
+ if random.randint(0,100) >= 25:
number = "+441234567890"
given_name = random.sample(alphabet, (4, 8)).capitalized()