Browse Source

Changed the filesystem_session's set_value, get_value and del_value methods' names

Roland Haroutiounian 8 years ago
parent
commit
8361a791c5
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      plugins/filesystem_session/main.py

+ 3
- 3
plugins/filesystem_session/main.py View File

@@ -123,18 +123,18 @@ def gc():
123 123
                 destroy_session(token)
124 124
 
125 125
 
126
-def set_value(token, key, value):
126
+def set_session_value(token, key, value):
127 127
     session = restore_session(token)
128 128
     session[key] = value
129 129
     save_session(token, session)
130 130
 
131 131
 
132
-def get_value(token, key):
132
+def get_session_value(token, key):
133 133
     session = restore_session(token)
134 134
     return session[key]
135 135
 
136 136
 
137
-def del_value(token, key):
137
+def del_session_value(token, key):
138 138
     session = restore_session(token)
139 139
     if key in session:
140 140
         del(session[key])

Loading…
Cancel
Save