Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/boards/python/admin/class_edit.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/boards/python/admin/class_edit.py')
-rw-r--r--src/boards/python/admin/class_edit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boards/python/admin/class_edit.py b/src/boards/python/admin/class_edit.py
index 36ef7d1..166a28e 100644
--- a/src/boards/python/admin/class_edit.py
+++ b/src/boards/python/admin/class_edit.py
@@ -223,10 +223,10 @@ class ClassEdit(gtk.Window):
# If class_id is provided, only users in this class are inserted
# If with = True, create a list only with the given class_id.
# False, create a list only without the given class_id
- def __create_model(self, with, class_id):
+ def __create_model(self, _with, class_id):
# Grab the user data
- if(with):
+ if(_with):
self.cur.execute('SELECT user_id,firstname,lastname FROM users where class_id=? ORDER BY login', (class_id,))
else:
self.cur.execute('SELECT user_id,firstname,lastname FROM users WHERE class_id!=? ORDER BY login', (class_id,))