Skip to content

Commit b3be864

Browse files
author
Matthias Koeppe
committed
sage_bootstrap.app: Restore Python 2 support
1 parent 8ff9e85 commit b3be864

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/sage_bootstrap/app.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ def list_cls(self, *package_classes, **filters):
7777
for pkg_name in pc.names:
7878
print(pkg_name)
7979

80-
def properties(self, *package_classes, props=['path', 'version_with_patchlevel', 'type', 'source', 'trees'],
81-
format='plain'):
80+
def properties(self, *package_classes, **kwds):
8281
"""
8382
Show the properties of given packages
8483
@@ -89,6 +88,8 @@ def properties(self, *package_classes, props=['path', 'version_with_patchlevel',
8988
source_maxima='normal'
9089
trees_maxima='SAGE_LOCAL'
9190
"""
91+
props = kwds.pop('props', ['path', 'version_with_patchlevel', 'type', 'source', 'trees'])
92+
format = kwds.pop('format', 'plain')
9293
log.debug('Looking up properties')
9394
pc = PackageClass(*package_classes)
9495
for package_name in pc.names:

0 commit comments

Comments
 (0)