Fix ruci
This commit is contained in:
parent
6679aae475
commit
4206353d7b
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
from glob import glob
|
from glob import glob
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
from porg import Org # typing: ignore
|
from porg import Org # type: ignore
|
||||||
|
|
||||||
# TODO enc stuff?
|
# TODO enc stuff?
|
||||||
def get_org_paths():
|
def get_org_paths():
|
||||||
|
@ -34,7 +34,7 @@ class PorgAll:
|
||||||
return self.query_all(lambda x: x.xpath_all('//*'))
|
return self.query_all(lambda x: x.xpath_all('//*'))
|
||||||
|
|
||||||
def query_all(self, query):
|
def query_all(self, query):
|
||||||
res = []
|
res: List[Org] = []
|
||||||
for p in self.paths:
|
for p in self.paths:
|
||||||
for of in _get_org_files_in(p):
|
for of in _get_org_files_in(p):
|
||||||
org = Org.from_file(of)
|
org = Org.from_file(of)
|
||||||
|
|
Loading…
Add table
Reference in a new issue