mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 14:56:14 +01:00
39779ec9bc
- move all configuration code into module osc/conf.py - now, the API server can be configured in .oscrc with apisrv = ... - also, 'scheme' (http/https) is no longer a module variable but can be configured - all config is in DEFAULT - ignore vim swap files - use urllib() convenience wrapper in some functions that used urllib2.urlopen() and had their own error handling. Instead, it seems to make sense -- in the future-- to create our own errors and propagate them up, in cases where the error handling of urlopen() is too generic - rename get_slash_source() to meta_get_project_list() for consistency - show local time in get_buildhistory(), not UTC - rewrite help text of 'rebuildpac' command - allow to run commandline.py from the commandline (without the wrapper) - don't send a space when doing a POST request without body
9 lines
224 B
Python
Executable File
9 lines
224 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
# this wrapper exists so it can be put into /usr/bin, but still allows the
|
|
# python module to be called within the source directory during development
|
|
|
|
from osc import commandline
|
|
commandline.main()
|
|
|