~ubuntu-branches/ubuntu/trusty/virt-manager/trusty-proposed

« back to all changes in this revision

Viewing changes to src/virtManager/domain.py

  • Committer: Bazaar Package Importer
  • Author(s): Marc Deslauriers
  • Date: 2011-08-16 13:34:42 UTC
  • Revision ID: james.westby@ubuntu.com-20110816133442-zt4zrj4scczm6xvq
Tags: 0.9.0-1ubuntu2
* debian/patches/fix_grep_portability.patch: support target systems where
  the grep utility has no -q option. (LP: #792985)
* debian/patches/fix_net_stats.patch: fix broken net stats gathering.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1448
1448
    def _sample_network_traffic(self):
1449
1449
        rx = 0
1450
1450
        tx = 0
1451
 
        if (not self._stats_net_supported or not
 
1451
        if (not self._stats_net_supported or
1452
1452
            not self._enable_net_poll or
1453
1453
            not self.is_active()):
1454
1454
            return rx, tx