Merge branch 'master' of git.calculate.ru:/calculate-desktop

master 2.2.1
Самоукин Алексей 14 years ago
commit 15e4957404

@ -7,7 +7,7 @@ calculate-desktop needs the following library version installed, in order to run
Python >= 2.5 Python >= 2.5
python-ldap >= 2.0.0 python-ldap >= 2.0.0
pyxml >= 0.8 pyxml >= 0.8
calculate-lib >= 2.2.0 calculate-lib >= 2.2.1
To install calculate-desktop, just execute the install script 'setup.py'. To install calculate-desktop, just execute the install script 'setup.py'.
Example: Example:

@ -28,3 +28,4 @@ then
done done
kill -9 $XMESPID &>/dev/null kill -9 $XMESPID &>/dev/null
fi fi
exit 0

@ -28,3 +28,4 @@ then
exit 1 exit 1
fi fi
fi fi
exit 0

@ -15,3 +15,4 @@
# set background color # set background color
xsetroot -solid rgb:17/0b/0a xsetroot -solid rgb:17/0b/0a
exit 0

@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
__version__ = "2.2.0.0" __version__ = "2.2.1"
__app__ = "calculate-desktop" __app__ = "calculate-desktop"
import os import os

@ -53,15 +53,14 @@ class share_cmd(color_print, _error):
def setVars(self, optObj): def setVars(self, optObj):
"""Установка переменных""" """Установка переменных"""
if optObj.set: if optObj.set:
for vals in optObj.set: for val in optObj.set:
for val in vals.split(','): k,o,v = val.partition('=')
k,o,v = val.partition('=') if self.logicObj.clVars.exists(k):
if self.logicObj.clVars.exists(k): if self.logicObj.clVars.SetWriteVar(k,v) == False:
if not self.logicObj.clVars.SetWriteVar(k,v):
return False
else:
self.printERROR(_('variable %s not found')%k)
return False return False
else:
self.printERROR(_('variable %s not found')%k)
return False
return True return True
def writeVars(self, optObj): def writeVars(self, optObj):

@ -71,6 +71,7 @@ class Data:
cl_env_path = {} cl_env_path = {}
cl_root_path = {'mode':"w"} cl_root_path = {'mode':"w"}
hr_laptop = {} hr_laptop = {}
hr_laptop_model = {}
hr_virtual = {} hr_virtual = {}
os_linux_name = {} os_linux_name = {}
os_linux_shortname = {} os_linux_shortname = {}

@ -24,7 +24,7 @@ from distutils.command.install_data import install_data
__app__ = "calculate-desktop" __app__ = "calculate-desktop"
__version__ = "2.2.0.0" __version__ = "2.2.1"
data_files = [] data_files = []

Loading…
Cancel
Save