add search by organisation

pull/1/head
Raphaël Vinot 2014-04-15 16:40:49 +02:00
parent 07b66ad05f
commit 8f477cc802
1 changed files with 7 additions and 1 deletions

View File

@ -43,8 +43,14 @@ def list_copy(filename):
with open(filename, 'r') as f: with open(filename, 'r') as f:
for l in f: for l in f:
l = int(l.strip()) l = int(l.strip())
print l
copy_event(l) copy_event(l)
def export_our_org():
circl = source.search(org='CIRCL')
return _to_utf8(circl)
if __name__ == '__main__': if __name__ == '__main__':
init() init()
list_copy('list') list_copy('all_ours')