##// END OF EJS Templates
Cleanup leftover print statements
marcink -
r3024:1361ddff beta
parent child Browse files
Show More
@@ -770,7 +770,6 b' class ApiController(JSONRPCController):'
770 success=True
770 success=True
771 )
771 )
772 except Exception:
772 except Exception:
773 print traceback.format_exc()
774 log.error(traceback.format_exc())
773 log.error(traceback.format_exc())
775 raise JSONRPCError(
774 raise JSONRPCError(
776 'failed to edit permission for users group: `%s` in '
775 'failed to edit permission for users group: `%s` in '
@@ -1506,7 +1506,6 b' class CacheInvalidation(Base, BaseModel)'
1506 % (len(inv_objs), key, repo_name))
1506 % (len(inv_objs), key, repo_name))
1507 try:
1507 try:
1508 for inv_obj in inv_objs:
1508 for inv_obj in inv_objs:
1509 print inv_obj
1510 inv_obj.cache_active = False
1509 inv_obj.cache_active = False
1511 Session().add(inv_obj)
1510 Session().add(inv_obj)
1512 Session().commit()
1511 Session().commit()
@@ -10,6 +10,7 b' except ImportError:'
10 skip_ldap_test = True
10 skip_ldap_test = True
11 pass
11 pass
12
12
13
13 class TestLdapSettingsController(TestController):
14 class TestLdapSettingsController(TestController):
14
15
15 def test_index(self):
16 def test_index(self):
@@ -42,7 +43,6 b' class TestLdapSettingsController(TestCon'
42 'ldap_attr_email':'test@example.com' })
43 'ldap_attr_email':'test@example.com' })
43
44
44 new_settings = RhodeCodeSetting.get_ldap_settings()
45 new_settings = RhodeCodeSetting.get_ldap_settings()
45 print new_settings
46 self.assertEqual(new_settings['ldap_host'], u'dc.example.com',
46 self.assertEqual(new_settings['ldap_host'], u'dc.example.com',
47 'fail db write compare')
47 'fail db write compare')
48
48
General Comments 0
You need to be logged in to leave comments. Login now