On 23/06, Lukas Fleischer wrote:
On Tue, 23 Jun 2015 at 00:00:19, Johannes Löthberg wrote:
+if account_type > 1:
+    privileged = True
+else:
+    privileged = False
+
+
 env_vars = {
     'AUR_USER': user,
+    'AUR_PRIVILEGED': privileged,

Maybe drop the if-else-block above and directly use (account_type > 1)
here? I am not sure about which version is more readable...


I think I'd find the if-else more readable, but I can switch if you want.

--
Sincerely,
 Johannes Löthberg
 PGP Key ID: 0x50FB9B273A9D0BB5
 https://theos.kyriasis.com/~kyrias/

Attachment: signature.asc
Description: PGP signature

Reply via email to