nl: join dirpath and dirname into a file path, use is as an argument for the call to the function os.path.join,
code: if is_ignored ( os . path . normpath ( os . path . join ( dirpath , dirname ) ) , norm_patterns ) :