Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:Uyuni:Snapshots:4.0.2
cobbler
changes-return-to-float.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File changes-return-to-float.diff of Package cobbler
diff --git a/cobbler/api.py b/cobbler/api.py index 762787916..b65d7dd88 100644 --- a/cobbler/api.py +++ b/cobbler/api.py @@ -195,10 +195,10 @@ def last_modified_time(self): fd = open("/var/lib/cobbler/.mtime", 'w') fd.write("0") fd.close() - return 0 + return float(0) fd = open("/var/lib/cobbler/.mtime", 'r') data = fd.read().strip() - return data + return float(data) # ==========================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor