Martin Basti
e4075b1fe2
Remove unused imports
...
This patch removes unused imports, alse pylint has been configured to
check unused imports.
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
2015-12-23 07:59:22 +01:00
Xiao-Long Chen
5e96fbc22a
Use /usr/bin/python2
...
Part of the effort to port FreeIPA to Arch Linux,
where Python 3 is the default.
FreeIPA hasn't been ported to Python 3, so the code must be modified to
run /usr/bin/python2
https://fedorahosted.org/freeipa/ticket/3438
Updated by pviktori@redhat.com
2014-01-03 09:46:05 +01:00
Rob Crittenden
d7bd9138c8
Execute /usr/bin/python directly instead of /usr/bin/env python
...
ticket 608
2011-01-14 16:27:48 -05:00
Jakub Hrozek
7493d781df
Change FreeIPA license to GPLv3+
...
The changes include:
* Change license blobs in source files to mention GPLv3+ not GPLv2 only
* Add GPLv3+ license text
* Package COPYING not LICENSE as the license blobs (even the old ones)
mention COPYING specifically, it is also more common, I think
https://fedorahosted.org/freeipa/ticket/239
2010-12-20 17:19:53 -05:00
Jason Gerard DeRose
db0168f7af
Started reworking CLI class into cli plugin
2009-02-03 15:29:03 -05:00
Jason Gerard DeRose
833088955c
More xmlrpc tweaks: xmlserver.execute() now logs non-public exceptions; xmlclient.forward() now handles socket error; fixed some Python 2.4 problems in lite-xmlrpc2.py
2009-02-03 15:29:01 -05:00
Jason Gerard DeRose
014af24731
Changed calling signature of output_for_cli(); started work on 'textui' backend plugin
2008-11-12 00:46:04 -07:00
Jason Gerard DeRose
6e456cc749
More CLI cleanup, got all basics working again
2008-10-27 23:30:55 -06:00
Jason Gerard DeRose
10026284db
Started cleanup work on CLI class, added unit tests for CLI.parse_globals()
2008-10-27 14:48:02 -06:00
Jason Gerard DeRose
c8b3f65165
Removed depreciated load_plugins.py module; changed all places where load_plugins was imported to now call api.load_plugins()
2008-10-27 00:41:37 -06:00
Jason Gerard DeRose
fb441b2b10
make-doc now includes the lite-* scripts, both with now check in __name__ == '__main__' before starting
2008-10-22 23:00:45 -06:00
Rob Crittenden
f189b02996
Return a value to the shell that called ipa
2008-10-22 17:52:32 -04:00
Jason Gerard DeRose
ac7bdf8790
338: Removed depreciated code from ipa (CLI) script
2008-09-24 08:07:20 +00:00
Jason Gerard DeRose
2fc3819bec
191: Removed ipalib/api.py module; standard plugable.API instance is now in ipalib.__init__.py
2008-08-25 23:35:29 +00:00
Jason Gerard DeRose
c0b5069fa0
133: Renamed run.py to api.py
2008-08-13 01:26:30 +00:00
Jason Gerard DeRose
13a3de7442
130: Renamed startup.py to load_plugins.py
2008-08-13 01:03:32 +00:00
Jason Gerard DeRose
9282418291
110: Started fleshing out more in cli.py
2008-08-11 19:35:57 +00:00
Jason Gerard DeRose
fdfa827a36
86: Actually change *all* tab indentation to 4-space: 'sed s/\t/ /g'
2008-08-08 21:40:03 +00:00
Jason Gerard DeRose
8e46824815
81: Switch from tab to 4-space indentation
2008-08-08 17:11:29 +00:00
Jason Gerard DeRose
277685439c
55: Cleaned up print_api() function in ipa script
2008-08-06 03:27:00 +00:00
Jason Gerard DeRose
c6f69e1c66
54: Added plugable.Proxy._clone() method; fleshed out public.obj; updated unit tests; port ipa script
2008-08-06 02:00:18 +00:00
Jason Gerard DeRose
f31f7813fe
53: Changed plugable.Registar so the same plugin can be added to in the ns for more than one base (for cmd and mthd)
2008-08-05 23:34:59 +00:00
Jason Gerard DeRose
159207514f
52: Got cli working against new framework
2008-08-05 22:21:57 +00:00
Jason Gerard DeRose
0c574d8300
27: Added quick hack for replace('-', '_') problem I'm having
2008-07-21 01:58:22 +00:00
Jason Gerard DeRose
7273d48169
26: Added AbstractCommand.get_doc() method to return the gettext translated summary of command; added get_doc() method to all example
2008-07-21 01:44:59 +00:00
Jason Gerard DeRose
48c7da47c7
25: Updated plugin examples, ipa script
2008-07-20 23:43:16 +00:00
Jason Gerard DeRose
97a3520d37
21: ipa script: improved print_api(); added missing sys.exit() after print_api() call
2008-07-20 18:50:40 +00:00
Jason Gerard DeRose
14339cfae0
20: Updated example plugins, added '_api_' command to ipa script with prints the api
2008-07-20 18:36:02 +00:00
Jason Gerard DeRose
370282819d
13: Starting playing around with 'ipa' cli script
2008-07-20 03:32:22 +00:00