OXIESEC PANEL
- Current Dir:
/
/
opt
/
gsutil
/
gslib
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
๐
..
-
02/11/2025 08:19:48 AM
rwxr-xr-x
๐
__init__.cpython-39.pyc
2.94 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
__main__.cpython-39.pyc
20.78 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
boto_resumable_upload.cpython-39.pyc
14.86 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
boto_translation.cpython-39.pyc
47.41 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
bucket_listing_ref.cpython-39.pyc
4.23 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
cloud_api.cpython-39.pyc
41.26 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
cloud_api_delegator.cpython-39.pyc
21.69 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
command.cpython-39.pyc
63.61 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
command_argument.cpython-39.pyc
4.25 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
command_runner.cpython-39.pyc
15.75 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
context_config.cpython-39.pyc
6.98 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
cred_types.cpython-39.pyc
851 bytes
02/11/2025 08:19:49 AM
rw-r--r--
๐
cs_api_map.cpython-39.pyc
3.25 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
daisy_chain_wrapper.cpython-39.pyc
8.35 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
devshell_auth_plugin.cpython-39.pyc
1.24 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
discard_messages_queue.cpython-39.pyc
989 bytes
02/11/2025 08:19:49 AM
rw-r--r--
๐
exception.cpython-39.pyc
5.84 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
file_part.cpython-39.pyc
4.04 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
gcs_json_api.cpython-39.pyc
53.37 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
gcs_json_credentials.cpython-39.pyc
13.84 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
gcs_json_media.cpython-39.pyc
19.41 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
help_provider.cpython-39.pyc
2.36 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
iamcredentials_api.cpython-39.pyc
7.62 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
impersonation_credentials.cpython-39.pyc
1.79 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
kms_api.cpython-39.pyc
9.34 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
lazy_wrapper.cpython-39.pyc
2.27 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
metrics.cpython-39.pyc
26.95 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
metrics_tuple.cpython-39.pyc
491 bytes
02/11/2025 08:19:48 AM
rw-r--r--
๐
name_expansion.cpython-39.pyc
20.03 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
no_op_credentials.cpython-39.pyc
936 bytes
02/11/2025 08:19:49 AM
rw-r--r--
๐
parallel_tracker_file.cpython-39.pyc
8.89 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
plurality_checkable_iterator.cpython-39.pyc
3.2 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
progress_callback.cpython-39.pyc
4.35 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
project_id.cpython-39.pyc
841 bytes
02/11/2025 08:19:48 AM
rw-r--r--
๐
pubsub_api.cpython-39.pyc
7.69 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
resumable_streaming_upload.cpython-39.pyc
5.23 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
seek_ahead_thread.cpython-39.pyc
4.09 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
sig_handling.cpython-39.pyc
4.62 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
storage_url.cpython-39.pyc
16.48 KB
02/11/2025 08:19:48 AM
rw-r--r--
๐
tab_complete.cpython-39.pyc
10.35 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
thread_message.cpython-39.pyc
12.17 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
tracker_file.cpython-39.pyc
17.01 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
tz_utc.cpython-39.pyc
2.05 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
ui_controller.cpython-39.pyc
30.35 KB
02/11/2025 08:19:49 AM
rw-r--r--
๐
wildcard_iterator.cpython-39.pyc
23.94 KB
02/11/2025 08:19:48 AM
rw-r--r--
Editing: tz_utc.cpython-39.pyc
Close
a +(Wg๏ฟฝ ๏ฟฝ @ s` d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ G dd ๏ฟฝ d e๏ฟฝZ d S )z9Provides a tzinfo subclass to represent the UTC timezone.๏ฟฝ )๏ฟฝabsolute_import)๏ฟฝprint_function)๏ฟฝdivision)๏ฟฝunicode_literals๏ฟฝ๏ฟฝ timedelta)๏ฟฝtzinfoc @ s( e Zd ZdZdd๏ฟฝ Zdd๏ฟฝ Zdd๏ฟฝ ZdS ) ๏ฟฝUTCa๏ฟฝ Timezone information class used to convert datetime timestamps to UTC. This class is necessary to convert timestamps to UTC. By default Python datetime objects are timezone unaware. This created problems when interacting with cloud object timestamps which are timezone-aware. This issue appeared when handling the timeCreated metadata attribute; the values returned by the service were placed in RFC 3339 format in the storage_v1_messages module. RFC 3339 requires a timezone in any timestamp. This caused problems as the datetime object elsewhere in the code was timezone unaware and was different by exactly one hour. The main problem was that the local system used daylight savings time which adjusted the timestamp ahead by one hour. c C s t d๏ฟฝS )z๏ฟฝAn offset of the number of minutes away from UTC this tzinfo object is. Returns: A time duration of zero. UTC is zero minutes away from UTC. r r ๏ฟฝ๏ฟฝself๏ฟฝ_๏ฟฝ r ๏ฟฝ/opt/gsutil/gslib/tz_utc.py๏ฟฝ utcoffset( s z UTC.utcoffsetc C s dS )zvA method to retrieve the name of this timezone object. Returns: The name of the timezone (i.e. 'UTC'). r r r r r r ๏ฟฝtzname0 s z UTC.tznamec C s t d๏ฟฝS )zA fixed offset to handle daylight savings time (DST). Returns: A time duration of zero as UTC does not use DST. r r r r r r ๏ฟฝdst8 s zUTC.dstN)๏ฟฝ__name__๏ฟฝ __module__๏ฟฝ__qualname__๏ฟฝ__doc__r r r r r r r r s r N) r ๏ฟฝ __future__r r r r ๏ฟฝdatetimer r r r r r r ๏ฟฝ<module> s