overlay/app-misc/sablink-version/files/check.py

5 lines
115 B
Python
Raw Normal View History

2012-11-04 15:53:30 +01:00
#!/usr/bin/python
from entropy.client.interfaces import Client
cl = Client()
print(len(cl.calculate_updates()[0]))