Bug 31030 - service_info.py broken
service_info.py broken
Status: CLOSED DUPLICATE of bug 34234
Product: UCS
Classification: Unclassified
Component: UCR - Info Files
UCS 3.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: Philipp Hahn
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-11 15:05 CEST by Philipp Hahn
Modified: 2023-03-25 06:43 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Cleanup
Max CVSS v3 score:
hahn: Patch_Available+


Attachments
Fixes, cleanup (7.47 KB, patch)
2013-04-11 15:05 CEST, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2013-04-11 15:05:56 CEST
Created attachment 5166 [details]
Fixes, cleanup

Print debug information
_runlevels, _init_link are undefined
get_service() returns None
Remove unused imports

service_info.py |  132 ++++++++++++++++++++++++++++----------------------------
 1 file changed, 67 insertions(+), 65 deletions(-)

UNTESTED
Comment 1 Florian Best univentionstaff 2016-09-12 16:23:37 CEST
./base/univention-config-registry/python/univention/info_tools.py:152:24: F821 undefined name 'DEFAULTSECT'
./base/univention-config-registry/python/univention/service_info.py:111:16: F821 undefined name '_runlevels'
./base/univention-config-registry/python/univention/service_info.py:115:15: F821 undefined name '_init_link'
./base/univention-config-registry/python/univention/service_info.py:162:15: F821 undefined name 'var'
./base/univention-config-registry/python/univention/service_info.py:163:13: F821 undefined name 'var'
Comment 2 Florian Best univentionstaff 2016-09-15 14:22:17 CEST

*** This bug has been marked as a duplicate of bug 34234 ***
Comment 3 Florian Best univentionstaff 2016-09-20 18:04:49 CEST
Yes, duplicate.