Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/util.py
Commit message (Collapse)AuthorAgeFilesLines
* pylint cleanup: disable warnings for reasonable catch-all exception handlersSascha Silbe2010-11-231-0/+1
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* sugar.util: use logging.exception instead of traceback.format_exc()Sascha Silbe2010-11-231-2/+1
| | | | | | | | | logging.exception() handles exceptions nicely for us, no need to explicitly use traceback. Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* pylint cleanup: replace disable-msg with disableSascha Silbe2010-11-231-1/+1
| | | | | | | | Adapt to upstream format change. Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* style cleanup: prefer ' for stringsSascha Silbe2010-11-231-1/+1
| | | | | | | | | 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>
* PEP8 cleanup: fix spaces around keyword parametersSascha Silbe2010-11-231-1/+1
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* PEP8 cleanup: fix whitespace around operatorSascha Silbe2010-11-231-4/+4
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* Do not break if the string contains no conversion specifier #2354Simon Schampijer2010-09-291-4/+11
|
* A little bit of pylint cleanupSimon Schampijer2010-03-101-1/+1
|
* PEP8 white space and long line fixesSascha Silbe2009-08-251-11/+41
|
* trim EOL (end-of-line) spaces on source filesSascha Silbe2009-08-251-10/+10
|
* add sugar.util.format_sizeSascha Silbe2009-08-251-0/+12
|
* let the logger do the formattingSascha Silbe2009-08-241-3/+3
|
* md5 and sha module will be deprecated in python 2.6 #266Aleksey Lim2009-07-111-2/+2
|
* Cleanup temp files at exit #435Tomeu Vizoso2009-02-251-0/+12
|
* Support nested requests for the same temp file pathTomeu Vizoso2009-01-041-5/+17
|
* Fix typoTomeu Vizoso2009-01-031-1/+1
|
* Add util.TempFilePath to track the creation and release of temporal filesTomeu Vizoso2009-01-031-0/+18
|
* Mark modules as STABLE/UNSTABLE/DEPRECATED.Marco Pesenti Gritti2008-10-281-0/+4
|
* #7959 cache translations in util.py (rlucchese)Tomeu Vizoso2008-08-221-3/+15
|
* pylint fixMarco Pesenti Gritti2008-08-131-2/+1
|
* Fix gettext invocation, and set text domain (fixes #7800)Khaled Hosny2008-08-111-3/+5
|
* Several pylint fixes.Marco Pesenti Gritti2008-08-101-2/+2
|
* Pylint cleanups.Marco Pesenti Gritti2008-08-101-3/+9
|
* Fix style issue (Simon)Tomeu Vizoso2008-05-241-1/+2
|
*