[xiph-cvs] cvs commit: positron/positron cmd_pack.py cmd_sync.py

Stan Seibert volsung at xiph.org
Thu Jun 19 10:57:55 PDT 2003



volsung     03/06/19 13:57:55

  Modified:    positron cmd_pack.py cmd_sync.py
  Log:
  Forgot to sort in two places.

Revision  Changes    Path
1.3       +4 -0      positron/positron/cmd_pack.py

Index: cmd_pack.py
===================================================================
RCS file: /usr/local/cvsroot/positron/positron/cmd_pack.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cmd_pack.py	25 May 2003 23:19:34 -0000	1.2
+++ cmd_pack.py	19 Jun 2003 17:57:55 -0000	1.3
@@ -40,6 +40,10 @@
             database = neuros.open_db(arg)
             print "  Packing database \"%s\"..." % (arg,)
             database.pack()
+
+            if config.sort_database:
+                database.sort()
+                
             neuros.close_db(arg)
         except neuros_module.Error, e:
             print "Error:", e

<p><p>1.5       +3 -0      positron/positron/cmd_sync.py

Index: cmd_sync.py
===================================================================
RCS file: /usr/local/cvsroot/positron/positron/cmd_sync.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- cmd_sync.py	12 Jun 2003 20:42:14 -0000	1.4
+++ cmd_sync.py	19 Jun 2003 17:57:55 -0000	1.5
@@ -166,6 +166,9 @@
         print "  Packing audio database...",
         audio_db.pack()
         print " Done."
+
+    if config.sort_database:
+        audio_db.sort()
         
     neuros.close_db("audio")
     

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list