summaryrefslogtreecommitdiff
path: root/src/meetingtools/apps/room
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-10-25 09:49:08 +0200
committerLeif Johansson <leifj@sunet.se>2011-10-25 09:49:08 +0200
commit5d588a52bdacba1a901bfd1ae0e6f00c6f8742b3 (patch)
treef87b7765384bd9a4cae11e4c877c20f0d615a60e /src/meetingtools/apps/room
parent39652bf35dad2ea394051ad3d6b1c3563eb615c2 (diff)
test
Diffstat (limited to 'src/meetingtools/apps/room')
-rw-r--r--src/meetingtools/apps/room/views.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py
index 7229dd5..a97352a 100644
--- a/src/meetingtools/apps/room/views.py
+++ b/src/meetingtools/apps/room/views.py
@@ -265,7 +265,9 @@ def _import_room(request,acc,r):
r['host_count'] = int(userlist.et.xpath("count(.//userdetails/role[text() = 'host'])"))
modified = True
- #logging.debug(pformat(room))
+ logging.debug("----------")
+ logging.debug(pformat(room))
+ logging.debug(pformat(r))
if r.has_key('urlpath'):
r['urlpath'] = r['urlpath'].strip('/')
@@ -277,8 +279,6 @@ def _import_room(request,acc,r):
setattr(room,key,r[key])
modified = True
- #logging.debug(pformat(room))
-
if not room.name:
room.delete()
return None