Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Imène Lajili
clowdflows
Commits
4aecfe15
Commit
4aecfe15
authored
Apr 01, 2015
by
Janez K
Browse files
export external requires the path to the package directory, not package_data
parent
d615cf58
Changes
1
Hide whitespace changes
Inline
Side-by-side
workflows/management/commands/export_package.py
View file @
4aecfe15
...
...
@@ -98,7 +98,7 @@ def export_package(package_name,writer,dest_folder=None):
#first we check if package_data directory exists and make it if it doesn't
if
external
:
package_directory
=
dest_folder
package_directory
=
os
.
path
.
join
(
dest_folder
,
'package_data'
)
else
:
package_directory
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
)),
'../../'
+
package_name
+
"/package_data/"
)
ensure_dir
(
package_directory
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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