use code from ungleich-common
This commit is contained in:
parent
cee92f2e99
commit
9c7d458eec
3 changed files with 8 additions and 6 deletions
|
@ -1,9 +1,8 @@
|
|||
import os
|
||||
|
||||
from ungleich_common.etcd_wrapper import EtcdWrapper
|
||||
from ungleich_common.ldap_manager import LdapManager
|
||||
from ungleich_common.config_parser import StrictConfigParser
|
||||
|
||||
from ungleich_common.ldap.ldap_manager import LdapManager
|
||||
from ungleich_common.std.configparser import StrictConfigParser
|
||||
from ungleich_common.etcd.etcd_wrapper import EtcdWrapper
|
||||
config_file = os.environ.get('meow-pay-config-file', default='pay.conf')
|
||||
|
||||
config = StrictConfigParser(allow_no_value=True)
|
||||
|
|
|
@ -2,4 +2,7 @@ ldap3
|
|||
etcd3
|
||||
stripe
|
||||
flask
|
||||
git+git://code.ungleich.ch/ahmedbilal/ungleich-common@master#egg=ungleich-common
|
||||
git+https://code.ungleich.ch/ahmedbilal/ungleich-common/#egg=ungleich-common-etcd&subdirectory=etcd
|
||||
git+https://code.ungleich.ch/ahmedbilal/ungleich-common/#egg=ungleich-common-ldap&subdirectory=ldap
|
||||
git+https://code.ungleich.ch/ahmedbilal/ungleich-common/#egg=ungleich-common-std&subdirectory=std
|
||||
git+https://code.ungleich.ch/ahmedbilal/ungleich-common/#egg=ungleich-common-schemas&subdirectory=schemas
|
|
@ -5,7 +5,7 @@ import math
|
|||
|
||||
from config import ldap_manager, etcd_client
|
||||
from helper import resolve_product
|
||||
from ungleich_common.schemas import BaseSchema, Field, ValidationException
|
||||
from ungleich_common.schemas.schemas import BaseSchema, Field, ValidationException
|
||||
|
||||
|
||||
class AddProductSchema(BaseSchema):
|
||||
|
|
Loading…
Reference in a new issue