/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos

  • Committer: Teddy Hogeborn
  • Date: 2012-01-08 07:52:26 UTC
  • Revision ID: teddy@recompile.se-20120108075226-ctx469ng75x5yfdd
Remove se.recompile.Mandos.NewRequest signal - its implemetation was
buggy and its utility was questionable.

* DBUS-API (se.recompile.Mandos.NewRequest): Removed.
* mandos (ClientDBus.NewRequest): Removed.  All emitters altered.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1224
1224
        "D-Bus signal"
1225
1225
        return self.need_approval()
1226
1226
    
1227
 
    # NewRequest - signal
1228
 
    @dbus.service.signal(_interface, signature="s")
1229
 
    def NewRequest(self, ip):
1230
 
        """D-Bus signal
1231
 
        Is sent after a client request a secret.
1232
 
        """
1233
 
        pass
1234
 
    
1235
1227
    ## Methods
1236
1228
    
1237
1229
    # Approve - method
1544
1536
                except KeyError:
1545
1537
                    return
1546
1538
                
1547
 
                if self.server.use_dbus:
1548
 
                    # Emit D-Bus signal
1549
 
                    client.NewRequest(unicode(self.client_address)[0])
1550
 
                
1551
1539
                if client.approval_delay:
1552
1540
                    delay = client.approval_delay
1553
1541
                    client.approvals_pending += 1