Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* XoColor: don't choke if passed the wrong type (SL#1408)HEADrefs/top-bases/t/accessibility-namesmasterSascha Silbe2010-10-221-0/+4
| | | | | | | Color data is stored in the Journal as a JSON dump, so we can get back arbitrary types. XoColor already checks the color string for validity and handles invalid strings gracefully, so it makes sense to enhance this to invalid types as well.
* bundlebuilder: ignore incorrect pylint warningSascha Silbe2010-10-221-0/+1
| | | | | pylint isn't smart enough to figure out the return type of Popen.communicate(), so squelch the warning.
* pylint: sugar.wm._property_change_trapped: allow overriding built-in methodSascha Silbe2010-10-221-0/+1
| | | | | "format" is the name of a parameter of the function we are wrapping, so we shouldn't change it.
* CellRendererInvoker._redraw_path(): assure column is definedSascha Silbe2010-10-221-0/+2
| | | | | | We know that our code is correct and column should always be assigned, but it never hurts to act defensively and guard against bugs in other pieces of the code (or other components like GTK).
* ToolInvoker._get_alignments: fix missing self parameterSascha Silbe2010-10-221-1/+1
| | | | | Caught by pylint. I wonder if we need this piece of code as nobody every triggered it.
* pylint cleanup: initialise all attributes in __init__()Sascha Silbe2010-10-221-0/+1
|
* pylint cleanup: pass format parameters to log functions instead of using %Sascha Silbe2010-10-221-2/+2
| | | | This avoids the overhead from the string formatting on production systems.
* pylint cleanup: disable warnings for reasonable catch-all exception handlersSascha Silbe2010-10-222-0/+2
|
* sugar.util: use logging.exception instead of traceback.format_exc()Sascha Silbe2010-10-221-2/+1
| | | | | logging.exception() handles exceptions nicely for us, no need to explicitly use traceback.
* pylint cleanup: remove unused importSascha Silbe2010-10-221-2/+1
|
* pylint cleanup: replace disable-msg with disableSascha Silbe2010-10-223-5/+5
| | | | Adapt to upstream format change.
* style cleanup: prefer ' for stringsSascha Silbe2010-10-2238-146/+146
| | | | | Tomeu prefers ' for strings, so let's use it wherever we don't have a good reason to use ".
* style cleanup: use """ everywhereSascha Silbe2010-10-222-9/+9
| | | | Most of the code uses """, so adjust the few deviations.
* PEP8 cleanup: fix deprecated raise syntaxSascha Silbe2010-10-221-1/+1
|
* PEP8 cleanup: fix whitespace before ':'Sascha Silbe2010-10-221-1/+1
|
* PEP8 cleanup: fix spaces around keyword parametersSascha Silbe2010-10-225-7/+7
|
* PEP8 cleanup: fix inline comment spacingSascha Silbe2010-10-222-6/+12
| | | | | pep8 wants inline comments to be prefixed by at least two spaces. Let's just move them to a separate line as that's easier to read anyway.
* PEP8 cleanup: fix whitespace around operatorSascha Silbe2010-10-224-6/+7
| | | | | I've left the powers as-is because IMO they should directly follow the base, unlike other operators.
* PEP8 cleanup: don't use has_key()Sascha Silbe2010-10-226-25/+14
| | | | has_key() has been deprecated for quite some time now.
* PEP8 cleanup: ensure lines are shorter than 80 charactersSascha Silbe2010-10-226-14/+20
| | | | | | Caught by PEP8. This is important for Sugar because the XO has a small screen where long lines would make the code hard to understand (because you need to constantly scroll horizontally).
* PEP8 cleanup: fix number of blank linesSascha Silbe2010-10-2214-3/+25
| | | | Caught by pep8.
* fix EOL spacesSascha Silbe2010-10-224-4/+4
|
*