Created
January 3, 2014 00:15
-
-
Save allenap/8229970 to your computer and use it in GitHub Desktop.
Example of aptdaemon not updating dependencies on Saucy. Is this broken behaviour, or are my expectations to blame?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import aptdaemon.client | |
def printcall(*args, **kwargs): | |
print("call(*%r, **%r)" % (args, kwargs)) | |
client = aptdaemon.client.AptClient() | |
# I have make installed, but not abiword. | |
txn = client.install_packages(["make", "abiword"]) | |
txn.connect("dependencies-changed", printcall) | |
txn.simulate() | |
print(txn.dependencies) | |
print(txn.packages) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment