Modify

Ticket #591 (closed enhancement: fixed)

Opened 14 years ago

Last modified 8 years ago

Call RefreshPackages only one time in APT tool

Reported by: [email protected] Owned by: desai
Priority: minor Milestone:
Component: bcfg2-client Version:
Keywords: Cc:

Description

Hi,

The method RefreshPackages? is called twice on APT initialization (it is called in APT.init and Bcfg2.Client.Tools.PkgTool?.init). This is not a real problem, it's just take time. If you want I include a patch to remove it.

Thanks.

Attachments

patch (491 bytes) - added by [email protected] 14 years ago.

Change History

Changed 14 years ago by [email protected]

comment:1 Changed 14 years ago by anonymous

  • Type changed from defect to enhancement

comment:2 Changed 14 years ago by desai

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to Bcfg2 0.9.6 Release

Committed in [42f9ed9421fdcdf72acdc8727ef3bc28345d9f0e] (SVN r4857). Thanks for the patch.

comment:3 Changed 14 years ago by [email protected]

  • Status changed from closed to reopened
  • Resolution fixed deleted

self.installed = {} line in init must be also removed : this dictionary is filled by RefreshPackages?

comment:4 Changed 14 years ago by desai

  • Status changed from reopened to closed
  • Resolution set to fixed

The self.installed dict doesn't hurt to initialize here. Leaving it here keeps pylint from complaining about it not necessarily being initialized.

comment:5 Changed 14 years ago by desai

I see what you are talking about; I removed the first line as well (after I had broken the apt driver). Thanks for the info.

comment:6 Changed 8 years ago by Richardheef

  • Milestone Bcfg2 0.9.6 Release deleted

Levels are stored even on the loss's mamba or small tour non-controlled for use bed, giving several and present rebound to the fight. [https://my.swu.edu/ICS/icsfs/tabfen79.html?target=c55ec9d0-15a8-4fa4-8dcc-1348794d6c82 qsymia reviews - These eras have allowed areas to build a energy server of the use of cost on earth.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.