Revision 698306b8 snf-cyclades-app/synnefo/db/migrations/0052_migrate_pool_entries.py

b/snf-cyclades-app/synnefo/db/migrations/0052_migrate_pool_entries.py
13 13
    return ba
14 14

  
15 15
def bitarray_to_string(bitarray_):
16
    return b64encode(bitarray_.tostring())
16
    return b64encode(bitarray_.tobytes())
17 17

  
18 18
def validate_mac(value):
19 19
    hex_ = value.replace(":", "")

Also available in: Unified diff