[Commits] act-server branch master updated.
C. Scott Ananian (none)
cscott at activation
Fri Dec 5 20:32:18 EST 2008
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "/home/cscott/public_git/act-server".
The branch, master has been updated
via 44c3524973f7e48d9d9e5ce03dca58a54f1c4e90 (commit)
from af008d0e95995c41bc3a13a84088ab78341a1bde (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
scripts/django-export-group.py | 7 -------
scripts/django-export-loc.py | 2 +-
2 files changed, 1 insertions(+), 8 deletions(-)
- Log -----------------------------------------------------------------
commit 44c3524973f7e48d9d9e5ce03dca58a54f1c4e90
Author: C. Scott Ananian <cscott at activation.(none)>
Date: Fri Dec 5 20:32:04 2008 -0500
Minor fixes to export utility scripts.
diff --git a/scripts/django-export-group.py b/scripts/django-export-group.py
index 9d88b14..10b382b 100755
--- a/scripts/django-export-group.py
+++ b/scripts/django-export-group.py
@@ -8,13 +8,6 @@ setup_environ(settings)
from oats.gts.models import UpdateGroup, Laptop, LaptopGroup
-def ugsize():
- for ug in UpdateGroup.objects.all():
- print str(ug), Laptop.objects.filter(update_group=ug).count()
-def lgsize():
- for lg in LaptopGroup.objects.all():
- print str(lg), Laptop.objects.filter(other_groups=lg).count()
-
def main():
from optparse import OptionParser
parser = OptionParser(usage='%prog [-l] [-u]')
diff --git a/scripts/django-export-loc.py b/scripts/django-export-loc.py
index e91769c..dc7e88b 100755
--- a/scripts/django-export-loc.py
+++ b/scripts/django-export-loc.py
@@ -1,5 +1,5 @@
#!/usr/bin/python2.4
-"""Emit lists of serial numbers in a given update or laptop group."""
+"""Emit lists of serial numbers with a given LOC mfg-data tag."""
import sys
sys.path.append(sys.path[0]+'/..')
from django.core.management import setup_environ
-----------------------------------------------------------------------
--
/home/cscott/public_git/act-server
More information about the Commits
mailing list