diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/meetingtools/apps/room/views.py | 6 |
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 |