~geda-admins/geda/geda-main

« back to all changes in this revision

Viewing changes to xorn/src/gaf/netlist/netlist.py

  • Committer: Roland Lutz
  • Date: 2021-07-02 15:01:05 UTC
  • mfrom: (6357.1.67)
  • Revision ID: git-v1:5161a67961bb753e953885cbee74ee5e1e3165fd
Merge fixes from branch 'stable-1.10'

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
                for value in component.get_attributes('source'):
171
171
                    for filename in value.split(','):
172
172
                        if filename.startswith(' '):
173
 
                            warn(_("leading spaces in source names "
174
 
                                   "are deprecated"))
 
173
                            component.warn(
 
174
                                _("leading spaces in source names "
 
175
                                  "are deprecated"))
175
176
                            filename = filename.lstrip(' ')
176
177
 
177
178
                        full_filename = \
346
347
            if component.blueprint.refdes is not None:
347
348
                component.refdes = refdes_mangle_func(
348
349
                    component.blueprint.refdes,
349
 
                    component.sheet.instantiating_component)
 
350
                    None if flat_package_namespace
 
351
                         else component.sheet.namespace)
350
352
 
351
353
        # assign package refdes
352
354
        for package in self.packages: