diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-09-27 20:41:11 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-09-27 20:41:11 -0500 |
commit | b9bb793c7be38dc30947901f3d526659af72e23c (patch) | |
tree | 06746e8f54fba950f8b7cfe1b60eabee42b0b85a | |
parent | 0e50d2080d6ed5ba7766d918fb5240ed3795eddb (diff) |
fix: SafeConfigParser renamed to ConfigParser
-rwxr-xr-x | paraboley | 11 | ||||
-rw-r--r-- | setup.py | 2 |
2 files changed, 8 insertions, 5 deletions
@@ -3,7 +3,7 @@ # Paraboley is a forked made by Aurélien DESBIRÈRES <aurelien@hackers.camp> # of archey3 to present the Parabola GNU / Linux-libre logo and informations # -# paraboley [version 0.2] +# paraboley # # Distributed under the terms of the GNU General Public License v3. # See http://www.gnu.org/licenses/gpl.txt for the full license text. @@ -11,6 +11,8 @@ # Simple python script to display an Parabola logo in ASCII art # Along with basic system information. +__version__ = "0.5" + # Import libraries import collections @@ -85,6 +87,7 @@ def module_register(name): DE_DICT = collections.OrderedDict([ ('cinnamon', 'Cinnamon'), ('gnome-session', 'GNOME'), + ('gnome-shell', 'GNOME'), ('ksmserver', 'KDE'), ('mate-session', 'MATE'), ('xfce4-session', 'Xfce'), @@ -102,6 +105,7 @@ WM_DICT = collections.OrderedDict([ ('fvwm', 'FVWM'), ('herbstluftwm', 'herbstluftwm'), ('i3', 'i3'), + ('sway', 'sway'), ('icewm', 'IceWM'), (re.compile('kwin(_x11|_wayland)?'), 'KWin'), ('metacity', 'Metacity'), @@ -545,7 +549,7 @@ class systemUpgrade(display): #------------ Config ----------- -class ArcheyConfigParser(configparser.SafeConfigParser): +class ArcheyConfigParser(configparser.ConfigParser): """ A parser for the archey config file. """ @@ -798,7 +802,6 @@ class Archey(object): args = () yield groups["func"], args - raise StopIteration def format_item(self, item): title = item[0].rstrip(':') @@ -824,7 +827,7 @@ def main(): usage='%prog', description="""%prog is a utility to display system info and take\ screenshots""", - version="%prog 0.3") + version="%prog {version}".format(version=__version__)) parser.add_option('-c', '--color', action='store', type='choice', dest='color', choices=('black', @@ -6,7 +6,7 @@ def read(fname): setup( name="Paraboley", - version="0.2", + version="0.4.1", author="Aurélien DESBRIÈRES", author_email="aurelien@hackers.camp", description="A simple python scrip to display an Parabola GNU / Linux-libre logo in ASCII art along with basic system information.", |