Skip to content
Snippets Groups Projects
Commit 1e2729cb authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #8817: moved monthRanges into new module datetimeutils in PyCommon

parent 31d31e3e
No related branches found
No related tags found
No related merge requests found
......@@ -2644,6 +2644,7 @@ LCS/Messaging/test/tMessaging.cc -text
LCS/Messaging/test/tTimeOut.cc -text
LCS/PyCommon/CMakeLists.txt -text
LCS/PyCommon/__init__.py -text
LCS/PyCommon/datetimeutils.py -text
LCS/PyCommon/factory.py -text
LCS/PyCommon/util.py -text
LCS/Tools/src/checkcomp.py -text
......@@ -2906,7 +2907,6 @@ LTA/ltastorageoverview/lib/create_db_ltastorageoverview.sql -text
LTA/ltastorageoverview/lib/report.py -text
LTA/ltastorageoverview/lib/scraper.py -text
LTA/ltastorageoverview/lib/store.py -text
LTA/ltastorageoverview/lib/utils.py -text
LTA/ltastorageoverview/lib/webservice/__init__.py -text
LTA/ltastorageoverview/lib/webservice/templates/index.html -text
LTA/ltastorageoverview/lib/webservice/webservice.py -text
......
......@@ -8,6 +8,7 @@ include(PythonInstall)
set(_py_files
factory.py
util.py)
util.py
datetimeutils.py)
python_install(${_py_files} DESTINATION lofar/common)
File moved
......@@ -6,7 +6,6 @@ python_install(
store.py
create_db_ltastorageoverview.sql
report.py
utils.py
webservice/webservice.py
webservice/__init__.py
DESTINATION ltastorageoverview)
......
......@@ -27,7 +27,7 @@ import os
import os.path
from ltastorageoverview import store
from lofar.common.util import humanreadablesize
from ltastorageoverview.utils import monthRanges
from lofar.common.datetimeutils import monthRanges
def main(argv):
dbpath = argv[0] if argv else 'ltastorageoverview.sqlite'
......
......@@ -32,7 +32,7 @@ from flask import render_template
from flask import json
from ltastorageoverview import store
from lofar.common.util import humanreadablesize
from ltastorageoverview.utils import monthRanges
from lofar.common.datetimeutils import monthRanges
app = Flask('LTA storage overview')
app.config.root_path = os.path.dirname(__file__)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment