Browse Source

Remove useless code

Fabs 11 years ago
parent
commit
4e599eec15
3 changed files with 0 additions and 7 deletions
  1. 0 3
      coin/members/admin.py
  2. 0 3
      coin/members/tests.py
  3. 0 1
      ldapdb/backends/ldap/base.py

+ 0 - 3
coin/members/admin.py

@@ -3,8 +3,6 @@ from django.contrib import admin
 from coin.members.models import Member, CryptoKey, LdapUser, MembershipFee
 from django import forms
 from coin.members.membershipfee_filter import MembershipFeeFilter
-import pprint
-
 
 # class LdapUserAdmin(admin.ModelAdmin):
 #    exclude = ['dn']
@@ -30,7 +28,6 @@ class MemberAdminForm(forms.ModelForm):
 
     def clean(self):
         cleaned_data = super(MemberAdminForm, self).clean()
-        pprint.pprint(cleaned_data)
         return cleaned_data
 
     class Meta:

+ 0 - 3
coin/members/tests.py

@@ -5,7 +5,6 @@ from django.contrib.auth.models import User
 from coin.members.models import Member, LdapUser, LdapGroup
 import logging
 
-logger = logging.getLogger('fabs')
 
 class MemberTests(TestCase):
         
@@ -180,8 +179,6 @@ class MemberAdminTests(TestCase):
         self.assertNotContains(edit_page,
             '''<input id="id_ldap_cn" />''',
             html=True)
-            
-        logger.debug(edit_page)
 
 class MemberTestsUtils(object):
     @staticmethod

+ 0 - 1
ldapdb/backends/ldap/base.py

@@ -32,7 +32,6 @@
 
 import ldap
 import django
-from pprint import pprint
 
 from django.db.backends import (BaseDatabaseFeatures, BaseDatabaseOperations,
                                 BaseDatabaseWrapper)