Skip to content

Commit

Permalink
Well that was dumb...
Browse files Browse the repository at this point in the history
  • Loading branch information
waveform80 committed Jul 23, 2022
1 parent bba4dc8 commit c5846d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions piwheels/master/cloud_gazer.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ def add_package_name(self, package, package_alias, timestamp):
def read_pypi(self):
for package_alias, version, timestamp, action, description in self.pypi:
package = canonicalize_name(package_alias)
if len(package) > 200:
if package is not None and len(package) > 200:
self.logger.warning(
'ignoring package with silly length: %s', package)
continue
if len(version) > 200:
if version is not None and len(version) > 200:
self.logger.warning(
'ignoring version with silly length: %s %s', package, version)
continue
Expand Down

0 comments on commit c5846d3

Please sign in to comment.