"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/vclib/ccvs/__init__.py" between
viewvc-1.1.28.tar.gz and viewvc-1.2.1.tar.gz

About: ViewVC is a browser interface for CVS and Subversion version control repositories.

__init__.py  (viewvc-1.1.28):__init__.py  (viewvc-1.2.1)
skipping to change at line 14 skipping to change at line 14
# #
# By using this file, you agree to the terms and conditions set forth in # By using this file, you agree to the terms and conditions set forth in
# the LICENSE.html file which can be found at the top level of the ViewVC # the LICENSE.html file which can be found at the top level of the ViewVC
# distribution or at http://viewvc.org/license-1.html. # distribution or at http://viewvc.org/license-1.html.
# #
# For more information, visit http://viewvc.org/ # For more information, visit http://viewvc.org/
# #
# ----------------------------------------------------------------------- # -----------------------------------------------------------------------
import os import os
import os.path import os.path
import time
def cvs_strptime(timestr):
return time.strptime(timestr, '%Y/%m/%d %H:%M:%S')[:-1] + (0,)
def canonicalize_rootpath(rootpath): def canonicalize_rootpath(rootpath):
assert os.path.isabs(rootpath) assert os.path.isabs(rootpath)
return os.path.normpath(rootpath) return os.path.normpath(rootpath)
def _is_cvsroot(path): def _is_cvsroot(path):
return os.path.exists(os.path.join(path, "CVSROOT", "config")) return os.path.exists(os.path.join(path, "CVSROOT", "config"))
def expand_root_parent(parent_path): def expand_root_parent(parent_path):
# Each subdirectory of PARENT_PATH that contains a child # Each subdirectory of PARENT_PATH that contains a child
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)