parameters: (f1, f2)
docstring: copies the special packaging file attributes from f1 to f2.
docstring_summary: copies the special packaging file attributes from f1 to f2.
docstring_tokens: copies the special packaging file attributes from f1 to f2 .
function: def copy_attr(f1, f2):
      """ copies the special packaging file attributes from f1 to f2.
      """
      copyit = lambda x: not hasattr(f2, x) and x[:10] == 'PACKAGING_'
      if f1._tags:
          pattrs = list(filter(copyit, f1._tags))
          for attr in pattrs:
              f2.Tag(attr, f1.GetTag(attr))
function_tokens: def copy_attr ( f1 , f2 ) : copyit = lambda x : not hasattr ( f2 , x ) and x [ : 10 ] == 'PACKAGING_' if f1 . _tags : pattrs = list ( filter ( copyit , f1 . _tags ) ) for attr in pattrs : f2 . Tag ( attr , f1 . GetTag ( attr ) )