summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 246bdadc6..0f6cc4268 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -569,8 +569,9 @@ class ServerMethods():
def set_package_name(self, pid, name):
- #@TODO
- self.core.file_list.packager.setPackageData(pid, package_name=name)
+ pack = self.core.files.getPackage(pid)
+ pack.name = name
+ pack.sync()
def pull_out_package(self, pid):
"""put package back to collector"""