calcrepo/util.py
def removeRootFromName(string):
	"""Helper function to remove /pub, /files from string."""
	global garbageRoots
	for root in garbageRoots:
		if root in string:
			string = string[string.find(root) + len(root):]
	return string
Helper function to remove /pub, /files from string.
Helper function to remove /pub, /files from string.
Helper function to remove / pub / files from string .
def removeRootFromName(string):
	global garbageRoots
	for root in garbageRoots:
		if root in string:
			string = string[string.find(root) + len(root):]
	return string
def removeRootFromName ( string ) : global garbageRoots for root in garbageRoots : if root in string : string = string [ string . find ( root ) + len ( root ) : ] return string
Helper function to remove /pub, /files from string.
Helper function to remove / pub / files from string .
"""Helper function to remove /pub, /files from string."""
string