Currently generate_ppa_access:
* loads a dict into memory of all the PPAs requiring updating *with* all their tokens
* generates the new htaccess as a temporary file for each of these PPAs (regardless of whether it could potentially have just appended if no tokens were removed), and replaces the existing one only if they are different
Two obvious points for optimisation:
Currently generate_ ppa_access:
* loads a dict into memory of all the PPAs requiring updating *with* all their tokens
* generates the new htaccess as a temporary file for each of these PPAs (regardless of whether it could potentially have just appended if no tokens were removed), and replaces the existing one only if they are different