Browse Source

Correcao de erros de unicode

stable/2.0
Breno 11 years ago
parent
commit
0ce60e87e1
  1. 4
      sigi/apps/servidores/management/commands/sync_ldap.py

4
sigi/apps/servidores/management/commands/sync_ldap.py

@ -1,4 +1,4 @@
# coding= utf-8 # coding: utf-8
import ldap import ldap
from django.core.management.base import BaseCommand, CommandError from django.core.management.base import BaseCommand, CommandError
from django.contrib.auth.models import User, Group from django.contrib.auth.models import User, Group
@ -6,7 +6,7 @@ from sigi.settings import *
from sigi.apps.servidores.models import Servidor from sigi.apps.servidores.models import Servidor
class Command(BaseCommand): class Command(BaseCommand):
help = 'Sincroniza Usuários e Servidores com o LDAP' help = u'Sincroniza Usuários e Servidores com o LDAP'
def handle(self, *args, **options): def handle(self, *args, **options):
self.sync_groups() self.sync_groups()

Loading…
Cancel
Save