From 7acfbd070fa207dff309383da6e743ad2b9843c3 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Fri, 15 Oct 2010 19:14:59 +0000 Subject: style cleanup: prefer ' for strings Tomeu prefers ' for strings, so let's use it wherever we don't have a good reason to use ". Reviewed-by: James Cameron Acked-by: Simon Schampijer CC: Aleksey Lim --- (limited to 'src/sugar/util.py') diff --git a/src/sugar/util.py b/src/sugar/util.py index 9604dbf..083a46b 100644 --- a/src/sugar/util.py +++ b/src/sugar/util.py @@ -64,7 +64,7 @@ def unique_id(data=''): to be unique-enough, no attempt is made to make perfectly unique values. """ - data_string = "%s%s%s" % (time.time(), random.randint(10000, 100000), data) + data_string = '%s%s%s' % (time.time(), random.randint(10000, 100000), data) return printable_hash(sha_data(data_string)) -- cgit v0.9.1