Mercurial > public > mercurial-scm > hg
diff hgext/largefiles/lfutil.py @ 15170:c1a4a3220711
largefiles: fix over-long lines
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 29 Sep 2011 17:04:57 -0500 |
parents | aa262fff87ac |
children | 547da6115d1d |
line wrap: on
line diff
--- a/hgext/largefiles/lfutil.py Thu Sep 29 16:48:48 2011 -0500 +++ b/hgext/largefiles/lfutil.py Thu Sep 29 17:04:57 2011 -0500 @@ -488,8 +488,8 @@ return os.path.normpath(path).replace(os.sep, '/') def islfilesrepo(repo): - return 'largefiles' in repo.requirements and any_(shortname+'/' in f[0] for f in - repo.store.datafiles()) + return ('largefiles' in repo.requirements and + any_(shortname + '/' in f[0] for f in repo.store.datafiles()) def any_(gen): for x in gen: