diff options
| author | Clifford Wolf <clifford@clifford.at> | 2015-12-04 12:10:11 +0100 | 
|---|---|---|
| committer | Clifford Wolf <clifford@clifford.at> | 2015-12-04 12:10:11 +0100 | 
| commit | 5e1dc788c557e52154e7dd610edc4673094a7ba2 (patch) | |
| tree | e5fa8b11b54ab9aeda4e8e252208cb0825c846ad /icebox/icebox_maps.py | |
| parent | 9c9983cff8d5ff4c410b6f4fcd1c78b5f9e1fd6b (diff) | |
| download | icestorm-5e1dc788c557e52154e7dd610edc4673094a7ba2.tar.gz icestorm-5e1dc788c557e52154e7dd610edc4673094a7ba2.tar.bz2 icestorm-5e1dc788c557e52154e7dd610edc4673094a7ba2.zip | |
Python3 fixes
Diffstat (limited to 'icebox/icebox_maps.py')
| -rwxr-xr-x | icebox/icebox_maps.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/icebox/icebox_maps.py b/icebox/icebox_maps.py index 49f2638..c791bea 100755 --- a/icebox/icebox_maps.py +++ b/icebox/icebox_maps.py @@ -93,7 +93,7 @@ def print_db_nets(stmt, db, pos):              if icebox.pos_has_net(pos[0], entry[2]): netnames.add(entry[2])              if icebox.pos_has_net(pos[0], entry[3]): netnames.add(entry[3])      last_prefix = "" -    for net in sorted(netnames, icebox.cmp_netnames): +    for net in sorted(netnames, key=icebox.key_netname):          match = re.match(r"(.*?)(\d+)$", net)          if match:              if last_prefix == match.group(1): | 
