Mercurial > hg
comparison mercurial/posix.py @ 14272:adf5f4bdeaf6
posix: delete unused expand_glob
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Sun, 08 May 2011 20:42:28 +0200 |
parents | 4030630fb59c |
children | 38af0f514134 |
comparison
equal
deleted
inserted
replaced
14271:4030630fb59c | 14272:adf5f4bdeaf6 |
---|---|
261 | 261 |
262 def getuser(): | 262 def getuser(): |
263 '''return name of current user''' | 263 '''return name of current user''' |
264 return getpass.getuser() | 264 return getpass.getuser() |
265 | 265 |
266 def expand_glob(pats): | |
267 '''On Windows, expand the implicit globs in a list of patterns''' | |
268 return list(pats) | |
269 | |
270 def username(uid=None): | 266 def username(uid=None): |
271 """Return the name of the user with the given uid. | 267 """Return the name of the user with the given uid. |
272 | 268 |
273 If uid is None, return the name of the current user.""" | 269 If uid is None, return the name of the current user.""" |
274 | 270 |