This commit is contained in:
James Hodgkinson 2021-04-06 10:10:13 +10:00 committed by GitHub
parent f466e2a521
commit af1081e878
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 4 deletions

View file

@ -8,7 +8,6 @@ MAJOR, MINOR, _, _, _ = sys.version_info
if MAJOR >= 3:
import configparser
# Absolutely fuck you python3
from functools import reduce
else:
import ConfigParser as configparser

View file

@ -691,7 +691,7 @@ impl<'a> BackendTransaction for BackendReadTransaction<'a> {
#[allow(clippy::mut_from_ref)]
fn get_idlayer(&self) -> &mut IdlArcSqliteReadTransaction<'a> {
// OKAY here be the cursed bullshit. We know that in our application
// OKAY here be the cursed thing. We know that in our application
// that during a transaction, that we are the only holder of the
// idlayer, so we KNOW it can be mut, and we know every thing it
// returns is a copy anyway. But if we permeate that mut up, it prevents

View file

@ -120,7 +120,7 @@ pub const _STR_UUID_SCHEMA_ATTR_ACCOUNT_EXPIRE: &str = "00000000-0000-0000-0000-
pub const _STR_UUID_SCHEMA_ATTR_ACCOUNT_VALID_FROM: &str = "00000000-0000-0000-0000-ffff00000073";
// System and domain infos
// I'd like to strongly criticise william of the past for fucking up these allocations.
// I'd like to strongly criticise william of the past for making poor choices about these allocations.
pub const STR_UUID_SYSTEM_INFO: &str = "00000000-0000-0000-0000-ffffff000001";
pub const STR_UUID_DOMAIN_INFO: &str = "00000000-0000-0000-0000-ffffff000025";
// DO NOT allocate here, allocate below.

View file

@ -1574,7 +1574,7 @@ mod tests {
&anon_init,
Duration::from_secs(TEST_CURRENT_TIME),
));
/* Some weird lifetime shit happens here ... */
/* Some weird lifetime things happen here ... */
let sid = match r1 {
Ok(ar) => {