Line | |
---|
1 | #!/usr/bin/env python
|
---|
2 | # -*- coding: utf-8 -*-
|
---|
3 |
|
---|
4 | # $Id: datacenter.py 11326 2010-10-25 07:56:12Z pstorz $
|
---|
5 |
|
---|
6 | import logging
|
---|
7 | logging.basicConfig(level=logging.ERROR,
|
---|
8 | format='%(asctime)s %(levelname)s \t (%(module)s:%(lineno)d) %(message)s ',
|
---|
9 | #filename='vanHelsing.log',
|
---|
10 | filemode='w')
|
---|
11 |
|
---|
12 |
|
---|
13 |
|
---|
14 | import nosferatu.bacresources as bacresources
|
---|
15 | import unittest
|
---|
16 | #import tarfile
|
---|
17 |
|
---|
18 | #tar = tarfile.open('regression/dc1.dmdz')
|
---|
19 | #tar.extractall()
|
---|
20 | #tar.close
|
---|
21 |
|
---|
22 | dc = bacresources.DataCenter('regression/dc1.dmdz')
|
---|
23 |
|
---|
24 | #print dc
|
---|
25 | dc.writeDatacenter('/home/pstorz/tmp')
|
---|
Note:
See
TracBrowser
for help on using the repository browser.