##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51473:f30ce355 default
parent child Browse files
Show More
@@ -211,7 +211,7 b' def _ctxsgen(context, ctxs):'
211 b'description': s.description(),
211 b'description': s.description(),
212 b'branch': s.branch(),
212 b'branch': s.branch(),
213 }
213 }
214 if util.safehasattr(s, b'path'):
214 if util.safehasattr(s, 'path'):
215 d[b'file'] = s.path()
215 d[b'file'] = s.path()
216 yield d
216 yield d
217
217
General Comments 0
You need to be logged in to leave comments. Login now