Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
olapy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
olapy
Commits
79af07b5
Commit
79af07b5
authored
May 29, 2017
by
mouadh
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/rest_services' into rest_services
parents
b0e89794
558111fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
olapy/core/mdx/tools/config_file_parser.py
olapy/core/mdx/tools/config_file_parser.py
+3
-8
No files found.
olapy/core/mdx/tools/config_file_parser.py
View file @
79af07b5
...
@@ -198,14 +198,9 @@ class ConfigParser:
...
@@ -198,14 +198,9 @@ class ConfigParser:
:param cube_path: path to cube (csv folders)
:param cube_path: path to cube (csv folders)
:param file_name: config file name (DEFAULT = cubes-config.xml)
:param file_name: config file name (DEFAULT = cubes-config.xml)
"""
"""
if
cube_path
==
None
:
if
cube_path
is
None
:
# for later tests with config file
from
os.path
import
expanduser
from
tests.test_xmla_notox
import
RUNNING_TOX
home_directory
=
expanduser
(
"~"
)
if
RUNNING_TOX
:
home_directory
=
os
.
environ
.
get
(
'HOME_DIR'
)
else
:
from
os.path
import
expanduser
home_directory
=
expanduser
(
"~"
)
self
.
cube_path
=
os
.
path
.
join
(
home_directory
,
'olapy-data'
,
'cubes'
)
self
.
cube_path
=
os
.
path
.
join
(
home_directory
,
'olapy-data'
,
'cubes'
)
else
:
else
:
self
.
cube_path
=
cube_path
self
.
cube_path
=
cube_path
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment