Revision 016d04b3 lib/utils.py

b/lib/utils.py
1767 1767
      # we need to re-raise the exception
1768 1768
      raise
1769 1769

  
1770

  
1770 1771
def IsNormAbsPath(path):
1771 1772
  """Check whether a path is absolute and also normalized
1772 1773

  
......
1775 1776
  """
1776 1777
  return os.path.normpath(path) == path and os.path.isabs(path)
1777 1778

  
1779

  
1778 1780
def TailFile(fname, lines=20):
1779 1781
  """Return the last lines from a file.
1780 1782

  

Also available in: Unified diff