Skip to content

Commit b0f638d

Browse files
committed
Minor fixes
1 parent 73055b1 commit b0f638d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/sage_bootstrap/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def update_latest(self, package_name, commit=False):
151151
pkg = Package(package_name)
152152
dist_name = pkg.distribution_name
153153
if dist_name is None:
154-
log.debug('Package %s does not have Python distribution info in install-requires.txt')
154+
log.debug('%s does not have Python distribution info in install-requires.txt' % pkg)
155155
return
156156
if pkg.tarball_pattern.endswith('.whl'):
157157
source = 'wheel'

build/sage_bootstrap/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def distribution_name(self):
241241
line = line.strip()
242242
if line.startswith('#'):
243243
continue
244-
for part in line.split(' '):
244+
for part in line.split():
245245
return part
246246
return None
247247

0 commit comments

Comments
 (0)