Sascha Silbe
7acfbd070f
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 <quozl@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
CC: Aleksey Lim <alsroot@member.fsf.org>
2010-11-23 17:14:34 +01:00
Sascha Silbe
73de340d27
PEP8 cleanup: fix spaces around keyword parameters
...
Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
CC: Aleksey Lim <alsroot@member.fsf.org>
2010-11-23 17:14:33 +01:00
Sascha Silbe
60707443ea
PEP8 cleanup: fix whitespace around operator
...
Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
CC: Aleksey Lim <alsroot@member.fsf.org>
2010-11-23 17:14:33 +01:00
Simon Schampijer
106b9fba68
Do not break if the string contains no conversion specifier #2354
2010-09-29 16:15:59 +02:00
Simon Schampijer
2a52c9493b
A little bit of pylint cleanup
2010-03-10 10:23:30 +01:00
Sascha Silbe
c9e63eb8ea
PEP8 white space and long line fixes
2009-08-25 21:12:40 +02:00
Sascha Silbe
ecdaf6b795
trim EOL (end-of-line) spaces on source files
2009-08-25 19:55:48 +02:00
Sascha Silbe
6c3fd0346c
add sugar.util.format_size
2009-08-25 19:26:41 +02:00
Sascha Silbe
496090fe62
let the logger do the formatting
2009-08-24 12:54:02 +02:00
Aleksey Lim
d22e690822
md5 and sha module will be deprecated in python 2.6 #266
2009-07-11 13:07:22 +00:00
Tomeu Vizoso
6508128adc
Cleanup temp files at exit #435
2009-02-25 19:28:21 +01:00
Tomeu Vizoso
fd078d2f66
Support nested requests for the same temp file path
2009-01-04 11:39:14 +01:00
Tomeu Vizoso
de2aa036df
Fix typo
2009-01-03 19:26:33 +01:00
Tomeu Vizoso
faeee47f53
Add util.TempFilePath to track the creation and release of temporal files
2009-01-03 16:47:06 +01:00
Marco Pesenti Gritti
b58182a970
Mark modules as STABLE/UNSTABLE/DEPRECATED.
2008-10-28 14:19:01 +01:00
Tomeu Vizoso
1f6dae2360
#7959 cache translations in util.py (rlucchese)
2008-08-22 14:33:38 +02:00
Marco Pesenti Gritti
5cf5e91d69
pylint fix
2008-08-13 14:28:40 +02:00
Khaled Hosny
4114ef699d
Fix gettext invocation, and set text domain ( fixes #7800 )
2008-08-11 20:14:37 +05:30
Marco Pesenti Gritti
80190bf944
Several pylint fixes.
2008-08-11 00:50:29 +02:00
Marco Pesenti Gritti
1878c9f369
Pylint cleanups.
2008-08-11 00:00:55 +02:00
Tomeu Vizoso
bfca9c61b8
Fix style issue (Simon)
2008-05-24 18:11:50 +02:00
Tomeu Vizoso
708a62c06f
Move timestamp_to_elapsed_string to sugar.util and add ActivityBundle.installation_time
2008-05-24 18:07:51 +02:00
Marco Pesenti Gritti
72c2a1d770
Use a src directory consistently with base and shell.
2008-04-29 14:58:34 +02:00