add clear_method_cache

develop
Спиридонов Денис 12 years ago
parent 4b62454f85
commit 987f89e77c

@ -235,6 +235,7 @@ def https_server(client, args, unknown_args, url, clVarsCore):
return 1
client.service.clear_pid_cache(client.sid, pid)
client.service.clear_method_cache(client.sid, args.method)
return 0
def main():

@ -192,9 +192,9 @@ def collect_table(field, val_list, client):
for i in range(len(val_table)):
temp_row = []
print 'val_table[i] = ',val_table[i]
# print 'val_table[i] = ',val_table[i]
empty_row_flag = True if len (val_table[i]) == 1 else False
print 'empty_row_flag = ',empty_row_flag
# print 'empty_row_flag = ',empty_row_flag
for j in range(column):
# not adding if readonly
if j > (len(ChoiceValue) + 1):
@ -245,7 +245,6 @@ def collect_table(field, val_list, client):
continue
obj_body.append(temp_row)
key_list.append(temp_row[0])
return listToArrayArray(client, obj_body)
def collect_obj_body(body, field):

@ -76,18 +76,11 @@ def sid_inf(client, sid):
return -3
print _('Session information: ')
# print "============================"
print green + _(u"Session number - %s") %sid
# if s[0][5] == "0":
# print _(u"session is active")
# else:
# print _(u"session is inactive")
print green + _(u"Certificate number - %s") %s[0][0]
print green + _(u"Date issue of certificate - %s") %s[0][1]
print green + "ip - %s" %s[0][2]
print green + "MAC - %s\n" %s[0][3]
# print _(u"Client type - %s") %s[0][4]
# print "============================"
return 0
def client_session_info(client):

@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: console_gui_translate\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-05-25 15:41+0300\n"
"PO-Revision-Date: 2012-05-25 15:41+0300\n"
"PO-Revision-Date: 2012-06-05 09:17+0300\n"
"Last-Translator: Denis <ds@mail.ru>\n"
"Language-Team: \n"
"Language: \n"
@ -350,7 +350,7 @@ msgstr "Информация о сессии: "
#: /var/calculate/mydir/git/calculate-console/console/application/sid_func.py:78
#, python-format
msgid "Session number - %s"
msgstr "Серийный номер = %s"
msgstr "Номер сессии = %s"
#: /var/calculate/mydir/git/calculate-console/console/application/sid_func.py:83
#, python-format

Loading…
Cancel
Save