summaryrefslogtreecommitdiff
path: root/lib/commandline.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/commandline.py')
-rw-r--r--lib/commandline.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/commandline.py b/lib/commandline.py
index 1a3392f48..4416047ed 100644
--- a/lib/commandline.py
+++ b/lib/commandline.py
@@ -357,22 +357,6 @@ def NormalizeWorkspacePath(path, default_dir=None, extension=None):
return locator
-def NormalizeBrickPath(path):
- """Normalize a brick path using some common assumptions.
-
- Makes the following changes to |path|:
- 1. Put non-paths in //bricks (e.g. foo -> //bricks/foo).
- 2. Convert to a workspace locator.
-
- Args:
- path: brick path.
-
- Returns:
- Locator to the brick.
- """
- return NormalizeWorkspacePath(path, default_dir='//bricks')
-
-
VALID_TYPES = {
'bool': ParseBool,
'date': ParseDate,
@@ -380,7 +364,6 @@ VALID_TYPES = {
'gs_path': NormalizeGSPath,
'local_or_gs_path': NormalizeLocalOrGSPath,
'path_or_uri': NormalizeUri,
- 'brick_path': NormalizeBrickPath,
'workspace_path': NormalizeWorkspacePath,
}