aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/names.py
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2005-03-11 16:45:20 +0000
committerAaron Bentley <abentley@panoramicfeedback.com>2005-03-11 16:45:20 +0000
commit56c2c54ef00acc75f2bce8ded2b7fa66e8d07712 (patch)
treefeafea20cef817c9c724da2395318146f0fe6772 /libbe/names.py
parent0620177b8b876765f1a39245fef4207266f5c2bc (diff)
downloadbugseverywhere-56c2c54ef00acc75f2bce8ded2b7fa66e8d07712.tar.gz
Removed friendly bug name
Diffstat (limited to 'libbe/names.py')
-rw-r--r--libbe/names.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/libbe/names.py b/libbe/names.py
index 1c54dc2..1951046 100644
--- a/libbe/names.py
+++ b/libbe/names.py
@@ -6,17 +6,3 @@ def uuid():
def creator():
return os.environ["LOGNAME"]
-
-def friendly_name(bugs, ctor):
- last = 0
- for bug in bugs:
- name = bug.name
- if name is None:
- continue
- if name.startswith(ctor):
- num = int(name.split("-")[-1])
- if num > last:
- last = num
- return "%s-%i" % (ctor, last+1)
-
-