After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 784585 - PEP-8 errors: E722 do not use bare except'
PEP-8 errors: E722 do not use bare except'
Status: RESOLVED OBSOLETE
Product: d-feet
Classification: Other
Component: general
0.3.x
Other Linux
: Normal major
: ---
Assigned To: D-Feet Maintainer(s)
D-Feet Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-07-05 21:52 UTC by Michael Biebl
Modified: 2018-01-24 12:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Biebl 2017-07-05 21:52:31 UTC
Version: 0.3.12
PEP-Version: 2.3.1

Running "make check" with the latest pep version results in

pep8 --max-line-length=99 --ignore=E123,E402 --exclude='.svn,CVS,.bzr,.hg,.git,__pycache__,.#*' ../../src/
../../src/dfeet/bus_watch.py:109:9: E722 do not use bare except'
../../src/dfeet/bus_watch.py:193:9: E722 do not use bare except'
../../src/dfeet/dbus_utils.py:14:5: E722 do not use bare except'
../../src/dfeet/dbus_utils.py:148:13: E722 do not use bare except'
../../src/dfeet/introspection.py:25:9: E722 do not use bare except'
../../src/dfeet/settings.py:10:1: E722 do not use bare except'
../../src/dfeet/wnck_utils.py:21:1: E722 do not use bare except'
Comment 1 Thomas Bechtold 2017-11-24 19:12:16 UTC
@Michael, where do you get pep8==2.3.1 ? Latest version I see is 1.7.1 (https://pypi.python.org/pypi/pep8)
Comment 2 Michael Biebl 2017-11-24 22:10:06 UTC
Hi Thomas

(In reply to Thomas Bechtold from comment #1)
> @Michael, where do you get pep8==2.3.1 ? Latest version I see is 1.7.1
> (https://pypi.python.org/pypi/pep8)

That's interesting:
$ apt-cache policy pep8
pep8:
  Installiert:           1.7.1-1
  Installationskandidat: 1.7.1-1
  Versionstabelle:
 *** 1.7.1-1 500
        500 http://ftp.de.debian.org/debian sid/main amd64 Packages
        500 http://ftp.de.debian.org/debian sid/main i386 Packages
        100 /var/lib/dpkg/status

*but*
$ pep8 --version
2.3.1

Looking at the dependencies of pep8, I see 
$ apt-cache policy pycodestyle
pycodestyle:
  Installiert:           2.3.1-2
  Installationskandidat: 2.3.1-2
  Versionstabelle:
 *** 2.3.1-2 500
        500 http://ftp.de.debian.org/debian sid/main amd64 Packages
        500 http://ftp.de.debian.org/debian sid/main i386 Packages
        100 /var/lib/dpkg/status

So I guess that's where version 2.3.1 is coming from.
Comment 3 GNOME Infrastructure Team 2018-01-24 12:01:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/d-feet/issues/10.