self.source['hello_2.2-2'] = DBSource(source = 'hello', version = '2.2-2', \
maintainer = self.maintainer['maintainer'], \
changedby = self.maintainer['uploader'], \
self.source['hello_2.2-2'] = DBSource(source = 'hello', version = '2.2-2', \
maintainer = self.maintainer['maintainer'], \
changedby = self.maintainer['uploader'], \
self.source['hello_2.2-2'].suites.append(self.suite['sid'])
self.source['hello_2.2-1'] = DBSource(source = 'hello', version = '2.2-1', \
maintainer = self.maintainer['maintainer'], \
changedby = self.maintainer['uploader'], \
self.source['hello_2.2-2'].suites.append(self.suite['sid'])
self.source['hello_2.2-1'] = DBSource(source = 'hello', version = '2.2-1', \
maintainer = self.maintainer['maintainer'], \
changedby = self.maintainer['uploader'], \
self.source['hello_2.2-1'].suites.append(self.suite['sid'])
self.source['gnome-hello_3.0-1'] = DBSource(source = 'gnome-hello', \
version = '3.0-1', maintainer = self.maintainer['maintainer'], \
changedby = self.maintainer['uploader'], \
self.source['hello_2.2-1'].suites.append(self.suite['sid'])
self.source['gnome-hello_3.0-1'] = DBSource(source = 'gnome-hello', \
version = '3.0-1', maintainer = self.maintainer['maintainer'], \
changedby = self.maintainer['uploader'], \
self.source['gnome-hello_3.0-1'].suites.append(self.suite['sid'])
self.source['sl_3.03-16'] = DBSource(source = 'sl', version = '3.03-16', \
maintainer = self.maintainer['maintainer'], \
changedby = self.maintainer['uploader'], \
self.source['gnome-hello_3.0-1'].suites.append(self.suite['sid'])
self.source['sl_3.03-16'] = DBSource(source = 'sl', version = '3.03-16', \
maintainer = self.maintainer['maintainer'], \
changedby = self.maintainer['uploader'], \
self.source['sl_3.03-16'].suites.append(self.suite['squeeze'])
self.source['sl_3.03-16'].suites.append(self.suite['sid'])
self.session.add_all(self.source.values())
self.source['sl_3.03-16'].suites.append(self.suite['squeeze'])
self.source['sl_3.03-16'].suites.append(self.suite['sid'])
self.session.add_all(self.source.values())
- "returns the current time at the db server"
+ """
+ Returns the current time at the db server. Please note the function
+ returns the same value as long as it is in the same transaction. You
+ should self.session.rollback() (or commit) if you rely on getting a
+ fresh timestamp.
+ """