From e454b64599f64ebe627cb2edad2fb332c6eb5907 Mon Sep 17 00:00:00 2001 From: mkaay Date: Thu, 12 Aug 2010 01:04:42 +0200 Subject: renaming fix, get job by priority --- pyLoadCore.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pyLoadCore.py') 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""" -- cgit v1.2.3