certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] applications/PyHLA/hla/omt array.py


From: certi-cvs
Subject: [certi-cvs] applications/PyHLA/hla/omt array.py
Date: Thu, 06 Nov 2008 08:12:18 +0000

CVSROOT:        /sources/certi
Module name:    applications
Changes by:     Petr Gotthard <gotthardp>       08/11/06 08:12:18

Modified files:
        PyHLA/hla/omt  : array.py 

Log message:
        Fix a typo in HLAvariantArray.pack().

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/applications/PyHLA/hla/omt/array.py?cvsroot=certi&r1=1.2&r2=1.3

Patches:
Index: array.py
===================================================================
RCS file: /sources/certi/applications/PyHLA/hla/omt/array.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- array.py    13 Oct 2008 17:15:39 -0000      1.2
+++ array.py    6 Nov 2008 08:12:18 -0000       1.3
@@ -11,7 +11,7 @@
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 # Lesser General Public License for more details.
 #
-# $Id: array.py,v 1.2 2008/10/13 17:15:39 gotthardp Exp $
+# $Id: array.py,v 1.3 2008/11/06 08:12:18 gotthardp Exp $
 
 from hla._omt import *
 from basic import *
@@ -75,7 +75,7 @@
 
         for element in value:
             buffer += padding(len(buffer), self.elementType.octetBoundary)*'\0'
-            buffer = self.elementType.pack(element)
+            buffer += self.elementType.pack(element)
 
         return buffer
 
@@ -92,4 +92,4 @@
 
         return value, size
 
-# $Id: array.py,v 1.2 2008/10/13 17:15:39 gotthardp Exp $
+# $Id: array.py,v 1.3 2008/11/06 08:12:18 gotthardp Exp $




reply via email to

[Prev in Thread] Current Thread [Next in Thread]