Skip to content

Commit eb82b14

Browse files
Ken KundertKen Kundert
Ken Kundert
authored and
Ken Kundert
committed
add missing dependency
1 parent a8653dc commit eb82b14

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

doc/releases.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ Latest development release
66
| Version: 1.36
77
| Released: 2023-05-15
88
9+
1.37 (2023-05-18)
10+
-----------------
11+
- Add missing dependencies.
12+
13+
914
1.36 (2023-05-15)
1015
-----------------
1116
This release provides new mechanisms that allow you to monitor your pruning and

emborg/shlib.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
# You should have received a copy of the GNU General Public License
2020
# along with this program. If not, see [http://www.gnu.org/licenses/].
2121

22-
__version__ = "1.5"
23-
__released__ = "2022-11-04"
22+
__version__ = "1.6"
23+
__released__ = "2023-05-18"
2424

2525
# Imports {{{1
2626
try:
@@ -454,14 +454,14 @@ def lsf(*args, **kwargs):
454454
# Path list functions (leaves, cartesian_product, brace_expand, etc.) {{{1
455455
def _leaves(path, hidden, report):
456456
try:
457-
for each in path.iterdir():
458-
if each.is_dir():
457+
if path.is_file():
458+
if hidden or not path.name.startswith("."):
459+
yield path
460+
elif path.is_dir():
461+
for each in path.iterdir():
459462
if hidden or not each.name.startswith("."):
460463
for p in _leaves(each, hidden, report):
461464
yield p
462-
elif each.is_file():
463-
if hidden or not each.name.startswith("."):
464-
yield each
465465
except OSError as e:
466466
if report:
467467
report(e)

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ requires-python = ">=3.6"
2121
dependencies = [
2222
"appdirs",
2323
"arrow>=0.15",
24+
# "avendesora", # optional
2425
"docopt",
2526
"inform>=1.28",
27+
"nestedtext",
2628
"quantiphy",
2729
"requests",
2830
]

0 commit comments

Comments
 (0)