Changeset - 1361ddff4486
[Not reviewed]
beta
0 3 0
Marcin Kuzminski - 13 years ago 2012-11-24 00:42:48
marcin@python-works.com
Cleanup leftover print statements
3 files changed with 1 insertions and 3 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/api/api.py
Show inline comments
 
@@ -770,7 +770,6 @@ class ApiController(JSONRPCController):
 
                success=True
 
            )
 
        except Exception:
 
            print traceback.format_exc()
 
            log.error(traceback.format_exc())
 
            raise JSONRPCError(
 
                'failed to edit permission for users group: `%s` in '
rhodecode/model/db.py
Show inline comments
 
@@ -1506,7 +1506,6 @@ class CacheInvalidation(Base, BaseModel)
 
                  % (len(inv_objs), key, repo_name))
 
        try:
 
            for inv_obj in inv_objs:
 
                print inv_obj
 
                inv_obj.cache_active = False
 
                Session().add(inv_obj)
 
            Session().commit()
rhodecode/tests/functional/test_admin_ldap_settings.py
Show inline comments
 
@@ -10,6 +10,7 @@ except ImportError:
 
    skip_ldap_test = True
 
    pass
 

	
 

	
 
class TestLdapSettingsController(TestController):
 

	
 
    def test_index(self):
 
@@ -42,7 +43,6 @@ class TestLdapSettingsController(TestCon
 
                    'ldap_attr_email':'test@example.com' })
 

	
 
        new_settings = RhodeCodeSetting.get_ldap_settings()
 
        print new_settings
 
        self.assertEqual(new_settings['ldap_host'], u'dc.example.com',
 
                         'fail db write compare')
 

	
0 comments (0 inline, 0 general)