vortex-cli 4.18.0__tar.gz → 4.18.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vortex_cli-4.18.0/vortex_cli.egg-info → vortex_cli-4.18.1}/PKG-INFO +1 -1
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/pyproject.toml +1 -1
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/watch.py +7 -2
- {vortex_cli-4.18.0 → vortex_cli-4.18.1/vortex_cli.egg-info}/PKG-INFO +1 -1
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/LICENSE +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/README.md +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/setup.cfg +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/__init__.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/__main__.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/cli.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/colour.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/__init__.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/clean.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/clone.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/code.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/config.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/copy.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/db.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/delete.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/docs.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/execute.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/export.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/find.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/grep.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/import_.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/list.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/log.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/commands/new.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/constants.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/docs/Blackbook.pdf +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/lib/puakma-6.0.37.jar +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/logging.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/main.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/models.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/soap.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/spinner.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/util.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex/workspace.py +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex_cli.egg-info/SOURCES.txt +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex_cli.egg-info/dependency_links.txt +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex_cli.egg-info/entry_points.txt +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex_cli.egg-info/requires.txt +0 -0
- {vortex_cli-4.18.0 → vortex_cli-4.18.1}/vortex_cli.egg-info/top_level.txt +0 -0
|
@@ -229,12 +229,17 @@ class WorkspaceWatcher:
|
|
|
229
229
|
content_type = (
|
|
230
230
|
design_type.content_type() or mimetypes.guess_type(design_path)[0]
|
|
231
231
|
)
|
|
232
|
-
if content_type
|
|
232
|
+
if not content_type:
|
|
233
233
|
return _err_result("Unable to determine content type")
|
|
234
234
|
|
|
235
|
+
# design_source = base64.b64encode(design_type.source_template(name)).decode()
|
|
235
236
|
obj = DesignObject(-1, name, app, design_type, content_type, "", "")
|
|
236
237
|
|
|
237
|
-
|
|
238
|
+
if design_type.is_java_type:
|
|
239
|
+
obj.design_source = design_type.source_template(name)
|
|
240
|
+
obj.save(self.workspace)
|
|
241
|
+
upload_source = True
|
|
242
|
+
|
|
238
243
|
try:
|
|
239
244
|
file_bytes = design_path.path.read_bytes()
|
|
240
245
|
except OSError as e:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|