[elbe-devel] [PATCH 4/7] pep8: fix E266 too many leading '#' for block comment
Torben Hohn
torben.hohn at linutronix.de
Fri Jan 5 11:25:54 CET 2018
On Wed, Dec 20, 2017 at 10:11:44PM +0100, Manuel Traut wrote:
> this removes useless comments from db.py and updates pycodestyle
> statistics to:
>
> 2 E402 module level import not at top of file
> 98 E501 line too long (82 > 79 characters)
> 7 E741 ambiguous variable name 'l'
>
> Signed-off-by: Manuel Traut <manut at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
> ---
> elbepack/db.py | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/elbepack/db.py b/elbepack/db.py
> index c7a6ef2d..3f684865 100644
> --- a/elbepack/db.py
> +++ b/elbepack/db.py
> @@ -583,8 +583,6 @@ class ElbeDB(object):
>
> p.version = xml.text("/project/version")
>
> - ### Version management ###
> -
> def list_project_versions(self, builddir):
> with session_scope(self.session) as s:
> try:
> @@ -711,8 +709,6 @@ class ElbeDB(object):
> ".version.xml")
> return os.path.join(builddir, xmlname)
>
> - ### File management ###
> -
> def get_project_files(self, builddir):
> # Can throw: ElbeDBError
> with session_scope(self.session) as s:
> @@ -884,8 +880,6 @@ class ElbeDB(object):
>
> return filename
>
> - ### User management ###
> -
> def add_user(self, name, fullname, password, email, admin):
> # encrypt is deprecated but hash is not available in jessie
> try:
> --
> 2.15.1
>
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
--
Mit freundlichen Grüßen
Torben Hohn
Linutronix GmbH
Standort: Bremen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99
Firmensitz / Registered Office: D-88690 Uhldingen, Bahnhofstr. 3
Registergericht / Local District Court: Amtsgericht Freiburg i. Br.; HRB
Nr. / Trade register no.: 700 806
Geschäftsführer / Managing Directors: Heinz Egger, Thomas Gleixner
Eine Bitte von uns: Sollten Sie diese E-Mail irrtümlich erhalten haben,
benachrichtigen Sie uns in diesem Falle bitte sobald wie es Ihnen
möglich ist, durch Antwort-Mail. Vielen Dank!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20180105/d74d37e7/attachment.sig>
More information about the elbe-devel
mailing list