Gentoo Archives: gentoo-commits

From: Slava Bacherikov <slava@××××××××××××××.ua>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-packages:master commit in: gpackages/apps/packages/management/commands/, ...
Date: Sun, 27 May 2012 22:49:00
Message-Id: 1338158180.cdb7c2275d1f6238a2810ee31b27ea1634a56cca.bacher09@gentoo
commit:     cdb7c2275d1f6238a2810ee31b27ea1634a56cca
Author:     Slava Bacherikov <slava <AT> bacher09 <DOT> org>
AuthorDate: Sun May 27 22:36:20 2012 +0000
Commit:     Slava Bacherikov <slava <AT> bacherikov <DOT> org <DOT> ua>
CommitDate: Sun May 27 22:36:20 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-packages.git;a=commit;h=cdb7c227

Add command to manage.py

---
 .../packages/management/commands/scanpackages.py   |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/gpackages/apps/packages/management/__init__.py b/gpackages/apps/packages/management/__init__.py
new file mode 100644
index 0000000..e69de29

diff --git a/gpackages/apps/packages/management/commands/__init__.py b/gpackages/apps/packages/management/commands/__init__.py
new file mode 100644
index 0000000..e69de29

diff --git a/gpackages/apps/packages/management/commands/scanpackages.py b/gpackages/apps/packages/management/commands/scanpackages.py
new file mode 100644
index 0000000..4bad968
--- /dev/null
+++ b/gpackages/apps/packages/management/commands/scanpackages.py
@@ -0,0 +1,9 @@
+from django.core.management.base import BaseCommand, CommandError
+
+
+class Command(BaseCommand):
+    args = ''
+    help = 'Will scan package tree and update info about it in database'
+
+    def handle(self, *args, **options):
+        print("Not implement yet")