@ -2483,6 +2483,7 @@ class Britney:
del self . sources [ ' testing ' ] [ k [ 1 : ] ]
del self . sources [ ' testing ' ] [ k [ 1 : ] ]
else : self . sources [ ' testing ' ] [ k ] = undo [ ' sources ' ] [ k ]
else : self . sources [ ' testing ' ] [ k ] = undo [ ' sources ' ] [ k ]
for ( undo , pkg , pkg_name , suite ) in lundo :
# undo the changes (new binaries)
# undo the changes (new binaries)
if pkg [ 0 ] != ' - ' and pkg_name in self . sources [ suite ] :
if pkg [ 0 ] != ' - ' and pkg_name in self . sources [ suite ] :
for p in self . sources [ suite ] [ pkg_name ] [ BINARIES ] :
for p in self . sources [ suite ] [ pkg_name ] [ BINARIES ] :
@ -2491,6 +2492,7 @@ class Britney:
del self . binaries [ ' testing ' ] [ arch ] [ 0 ] [ binary ]
del self . binaries [ ' testing ' ] [ arch ] [ 0 ] [ binary ]
self . systems [ arch ] . remove_binary ( binary )
self . systems [ arch ] . remove_binary ( binary )
for ( undo , pkg , pkg_name , suite ) in lundo :
# undo the changes (binaries)
# undo the changes (binaries)
for p in undo [ ' binaries ' ] . keys ( ) :
for p in undo [ ' binaries ' ] . keys ( ) :
binary , arch = p . split ( " / " )
binary , arch = p . split ( " / " )
@ -2499,6 +2501,7 @@ class Britney:
self . systems [ arch ] . remove_binary ( binary [ 1 : ] )
self . systems [ arch ] . remove_binary ( binary [ 1 : ] )
else : self . binaries [ ' testing ' ] [ arch ] [ 0 ] [ binary ] = undo [ ' binaries ' ] [ p ]
else : self . binaries [ ' testing ' ] [ arch ] [ 0 ] [ binary ] = undo [ ' binaries ' ] [ p ]
for ( undo , pkg , pkg_name , suite ) in lundo :
# undo the changes (virtual packages)
# undo the changes (virtual packages)
for p in undo [ ' nvirtual ' ] :
for p in undo [ ' nvirtual ' ] :
j , arch = p . split ( " / " )
j , arch = p . split ( " / " )