Commit Graph
18 Commits
Author SHA1 Message Date
Sascha Silbe 3d227102c4 pylint cleanup: remove unused imports
Reviewed-by: James Cameron <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
CC: Aleksey Lim <[email protected]>
2010-11-23 17:14:35 +01:00
Sascha Silbe eacce98f88 pylint cleanup: replace disable-msg with disable
Adapt to upstream format change.

Reviewed-by: James Cameron <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
CC: Aleksey Lim <[email protected]>
2010-11-23 17:14:34 +01:00
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 <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
CC: Aleksey Lim <[email protected]>
2010-11-23 17:14:34 +01:00
Sascha Silbe 5f13fcfc84 style cleanup: use """ everywhere
Most of the code uses """, so adjust the few deviations.

Reviewed-by: James Cameron <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
CC: Aleksey Lim <[email protected]>
2010-11-23 17:14:34 +01:00
Sascha Silbe 5f8ec81023 PEP8 cleanup: fix deprecated raise syntax
Reviewed-by: James Cameron <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
CC: Aleksey Lim <[email protected]>
2010-11-23 17:14:34 +01:00
Sascha Silbe 9c7769cc21 PEP8 cleanup: fix whitespace before ':'
Reviewed-by: James Cameron <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
CC: Aleksey Lim <[email protected]>
2010-11-23 17:14:33 +01:00
Sascha Silbe 73de340d27 PEP8 cleanup: fix spaces around keyword parameters
Reviewed-by: James Cameron <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
CC: Aleksey Lim <[email protected]>
2010-11-23 17:14:33 +01:00
Sascha Silbe 72ed58cbca PEP8 cleanup: fix inline comment spacing
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.

Acked-by: Simon Schampijer <[email protected]>
CC: Aleksey Lim <[email protected]>
2010-11-23 17:14:33 +01:00
Sascha Silbe 60707443ea PEP8 cleanup: fix whitespace around operator
Reviewed-by: James Cameron <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
CC: Aleksey Lim <[email protected]>
2010-11-23 17:14:33 +01:00
Sascha Silbe 814ab2ddf9 PEP8 cleanup: don't use has_key()
has_key() has been deprecated for quite some time now.

Acked-by: Simon Schampijer <[email protected]>
CC: Aleksey Lim <[email protected]>
2010-11-23 17:14:32 +01:00
Sascha Silbe 4d978fda14 PEP8 cleanup: ensure lines are shorter than 80 characters
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).

Reviewed-by: James Cameron <[email protected]>
Acked-by: Simon Schampijer<[email protected]>
CC: Aleksey Lim <[email protected]>
2010-11-23 17:14:32 +01:00
Sascha Silbe e2231d5620 PEP8 cleanup: fix number of blank lines
Caught by pep8.

Reviewed-by: James Cameron <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
CC: Aleksey Lim <[email protected]>
2010-11-23 17:14:32 +01:00
Sascha Silbe 131c28bb72 fix EOL spaces
Reviewed-by: James Cameron <[email protected]>
Acked-by: Simon Schampijer <[email protected]>
CC: Aleksey Lim <[email protected]>
2010-11-23 17:14:31 +01:00
Sascha Silbe bb323a4efa check syntax of private key (#1568)
Check that header and footer of the private key are present in order to detect
corrupted key files.

Signed-off-by: Sascha Silbe <[email protected]>
2010-03-09 23:34:59 +00:00
Sascha Silbe d38d865c7c Revert "Merge commit 'refs/top-bases/t/bug-1568' into t/bug-1568"
This reverts commit 12016d5408, reversing
changes made to d006092d37.
2010-03-09 23:28:18 +00:00
Sascha Silbe 12016d5408 Merge commit 'refs/top-bases/t/bug-1568' into t/bug-1568 2010-03-09 22:59:57 +00:00
Sascha Silbe b64930b2eb check private key syntax 2010-03-08 20:54:05 +00:00
Sascha Silbe 0a4ea3ec9a set description 2010-03-08 20:53:46 +00:00