Yann Leboulanger pushed to branch gajim_1.0 at gajim / gajim

Commits:
8fe2f842 by Yann Leboulanger at 2018-03-17T22:18:41+01:00
don't crash when we parse arguments in history manager. Fixes #8959

- - - - -


1 changed file:

- gajim/history_manager.py


Changes:

=====================================
gajim/history_manager.py
=====================================
--- a/gajim/history_manager.py
+++ b/gajim/history_manager.py
@@ -44,8 +44,8 @@ def parseOpts():
     config_path = None
 
     try:
-        shortargs = 'hc:'
-        longargs = 'help config-path='
+        shortargs = 'hvc:l:p:'
+        longargs = 'help verbose config-path= loglevel= profile='
         opts = getopt.getopt(sys.argv[1:], shortargs, longargs.split())[0]
     except getopt.error as msg:
         print(str(msg))



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/8fe2f8421ef50f1ba19c6ee426e5b9d8d8fa0b3d

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/8fe2f8421ef50f1ba19c6ee426e5b9d8d8fa0b3d
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to