ignatenkobrain / gnome-news

GNU General Public License v3.0
20 stars 7 forks source link

Respect PEP3127 octinteger syntax. #102

Closed azmeuk closed 8 years ago

azmeuk commented 8 years ago

PEP 3127 advise to add a o in octintegers. Further, it provoked a crash with Python 3.5.1 :

Running from source tree, using local files
Traceback (most recent call last):
  File "./gnome-news", line 86, in <module>
    from gnomenews.application import Application
  File "/home/azmeuk/dev/gnome-news/gnomenews/application.py", line 59
    GLib.mkdir_with_parents(CACHE_PATH, 0755)
                                           ^
SyntaxError: invalid token
ignatenkobrain commented 8 years ago

https://github.com/ignatenkobrain/gnome-news/commit/fb882ec541012d98e8491823b96dcf36bacb1dbf