hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
79e7d09cf04f313555a7a838eebd463a45def43c
diff --git a/ryu/lib/packet/ipv4.py b/ryu/lib/packet/ipv4.py index <HASH>..<HASH> 100644 --- a/ryu/lib/packet/ipv4.py +++ b/ryu/lib/packet/ipv4.py @@ -14,6 +14,7 @@ # limitations under the License. import struct +import socket from . import packet_base from . import packet_utils from . import udp @@ -69,8 +70,13...
packet lib: ipv4 option data support also make checksum handling consistent with the other code.
osrg_ryu
train
py
0d07f4721ad64ab3a2a463a321453f61b7e13584
diff --git a/read_roi/_read_roi.py b/read_roi/_read_roi.py index <HASH>..<HASH> 100644 --- a/read_roi/_read_roi.py +++ b/read_roi/_read_roi.py @@ -297,11 +297,13 @@ def read_roi_file(fpath): return {name: roi} -def read_roi_zip(zip_path): +def read_roi_zip(zip_path,preserveOrder=False): """ """ ...
optionally preserve the order or ROIs in a zip Preserving the order of ROIs in a ZIP is important for my application, but returning ROIs as a dictionary loses this order. The zip file list contains the dictionary keys as file names in the preserved order. Since each list item in the returned list is a dict with 'name'...
hadim_read-roi
train
py
f3b2ee0acf5801bcda4962bca447f857a93b713d
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ with open('README.rst') as file: long_description = file.read() setup(name='Tumulus', - version='0.1.8', + version='0.2.0', description='Python HTML Generator for Recyclable Web Elements...
Increased version number to <I>
oksome_Tumulus
train
py,py
e288d629b6215acd9ece4c1d80fb99b7c7981060
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -360,6 +360,10 @@ SerialPort.prototype.set = function (options, callback) { }); }; +SerialPort.prototype.isOpen = function () { + return this.connectionId > -1; +}; + function SerialPortList(callback) { if (typeof c...
Added isOpen() method Added isOpen() method to improve compatibility with node-serialport.
garrows_browser-serialport
train
js
e9fef5e3800173a738462bb88fac6e1ccf7224d6
diff --git a/core/View.php b/core/View.php index <HASH>..<HASH> 100644 --- a/core/View.php +++ b/core/View.php @@ -281,6 +281,8 @@ class View implements ViewInterface if(!empty($this->xFrameOptions)) { Common::sendHeader('X-Frame-Options: ' . (string)$this->xFrameOptions); } + // d...
send Referrer-Policy header (#<I>) * send Referrer-Policy header * use same-origin instead sending the full referrer to the same origin, but no referrer for others
matomo-org_matomo
train
php
198e7534dd90f881aa848758ca5a556ecf62fe9c
diff --git a/lib/rdl/types/type.rb b/lib/rdl/types/type.rb index <HASH>..<HASH> 100644 --- a/lib/rdl/types/type.rb +++ b/lib/rdl/types/type.rb @@ -9,8 +9,8 @@ module RDL::Type @@contract_cache = {} def check_member_or_leq(obj, msg = "") - if obj.instance_variable_defined? '@__rdl_type' - t = obj...
Use rdl_type in check_member_or_leq
plum-umd_rdl
train
rb
40b98009799b727f0b763c045426bafc7d4ae6da
diff --git a/library/Phpass/Hash/Adapter/ExtDes.php b/library/Phpass/Hash/Adapter/ExtDes.php index <HASH>..<HASH> 100644 --- a/library/Phpass/Hash/Adapter/ExtDes.php +++ b/library/Phpass/Hash/Adapter/ExtDes.php @@ -15,7 +15,7 @@ namespace Phpass\Hash\Adapter; /** - * PHPass Extended DES Hash Adapter + * Extended DE...
Update extended DES adapter docblock.
rchouinard_phpass
train
php
f25674077d9454fa660ade75ffcbd44e383ac06f
diff --git a/test/test_reading.py b/test/test_reading.py index <HASH>..<HASH> 100644 --- a/test/test_reading.py +++ b/test/test_reading.py @@ -24,7 +24,11 @@ ARCHIVE_COMMENTS = { "rar5-psw.rar": "RAR5 archive - nohdr-password\n", } -ARCHIVE_FILES = [f for f in sorted(glob("test/files/*.rar")) if "hpsw" not in f...
Make test_reading.py bit more portable
markokr_rarfile
train
py
4ef184d28c5e2c804eb0ae945b1fb82c8a46e34b
diff --git a/definitions/npm/sequelize_v4.x.x/flow_v0.42.x-/sequelize_v4.x.x.js b/definitions/npm/sequelize_v4.x.x/flow_v0.42.x-/sequelize_v4.x.x.js index <HASH>..<HASH> 100644 --- a/definitions/npm/sequelize_v4.x.x/flow_v0.42.x-/sequelize_v4.x.x.js +++ b/definitions/npm/sequelize_v4.x.x/flow_v0.42.x-/sequelize_v4.x.x....
fixing issue <I> - Sequelize.condition accepts 3 arguments and exactly equal to Sequelize.where (#<I>)
flow-typed_flow-typed
train
js
30cd3946a0683f49132d54a38d06b45bec536683
diff --git a/lib/gemsmith/generators/rspec.rb b/lib/gemsmith/generators/rspec.rb index <HASH>..<HASH> 100644 --- a/lib/gemsmith/generators/rspec.rb +++ b/lib/gemsmith/generators/rspec.rb @@ -24,13 +24,14 @@ module Gemsmith def install_templates cli.template "#{rspec_root}/spec_helper.rb.tt", configura...
Fixed Rubocop Style/MissingElse issues.
bkuhlmann_gemsmith
train
rb
7802e982bb6996cb65603bf32bf21a32a3850cb4
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -32,12 +32,11 @@ const analyzeCommits = wrapPlugin( NAMESPACE, 'analyzeCommits', plugin => async (pluginConfig, config) => { - const { dryRun, commentTag, pullRequests } = pluginConfig; + const {...
chore: remove dead code in `analyzeCommits`
Updater_semantic-release-github-pr
train
js
61a6b33f676c34bddc22b52221b588ff6ae147e7
diff --git a/splinter/utils.py b/splinter/utils.py index <HASH>..<HASH> 100644 --- a/splinter/utils.py +++ b/splinter/utils.py @@ -11,7 +11,7 @@ def warn_deprecated(method, deprecated_method_name): def deprecate_driver_class(cls, message): def new_init(self, *args, **kwargs): cls.__init__(self, *args, **...
stacklevel 3 will give the correct file that contantains the warning
cobrateam_splinter
train
py
a54ed65b793c5ffb49096cbdb554ea516ed2faea
diff --git a/salt/utils/cloud.py b/salt/utils/cloud.py index <HASH>..<HASH> 100644 --- a/salt/utils/cloud.py +++ b/salt/utils/cloud.py @@ -314,6 +314,7 @@ def wait_for_port(host, port=22, timeout=900): ) ) + def validate_windows_cred(host, port=445, username='Administrator', ...
Fix white-space related issues, and anomalous backslash.
saltstack_salt
train
py
617e678289cf68c300785206929f666fa68cbb21
diff --git a/packages/dva-core/src/createStore.js b/packages/dva-core/src/createStore.js index <HASH>..<HASH> 100644 --- a/packages/dva-core/src/createStore.js +++ b/packages/dva-core/src/createStore.js @@ -1,7 +1,7 @@ import { createStore, applyMiddleware, compose } from 'redux'; import flatten from 'flatten'; impo...
fix: window 会在小程序里报错 (#<I>)
dvajs_dva
train
js
e94d47ee261da302c77100eebc6d55528863f792
diff --git a/master/buildbot/steps/worker.py b/master/buildbot/steps/worker.py index <HASH>..<HASH> 100644 --- a/master/buildbot/steps/worker.py +++ b/master/buildbot/steps/worker.py @@ -89,25 +89,24 @@ class FileExists(WorkerBuildStep): super().__init__(**kwargs) self.file = file - def start(sel...
steps: Convert FileExists to new style
buildbot_buildbot
train
py
8bdcc6c32c9b81ce57c2cc5d49650d0c2625ac2e
diff --git a/bigquery/google/cloud/bigquery/job.py b/bigquery/google/cloud/bigquery/job.py index <HASH>..<HASH> 100644 --- a/bigquery/google/cloud/bigquery/job.py +++ b/bigquery/google/cloud/bigquery/job.py @@ -1781,7 +1781,7 @@ class QueryJob(_AsyncJob): @property def num_dml_affected_rows(self): - ...
fix docs (#<I>)
googleapis_google-cloud-python
train
py
4924a89ed0f32d64f668eaf54380811439e10571
diff --git a/coffeescript/__init__.py b/coffeescript/__init__.py index <HASH>..<HASH> 100755 --- a/coffeescript/__init__.py +++ b/coffeescript/__init__.py @@ -24,6 +24,9 @@ A short example: __license__ = str("MIT License") +VERSION = (1, 0, 4) +__version__ = str('.').join(map(str, VERSION)) + __all__ = 'compile C...
Moved the version info from setup.py to __init__.py
doloopwhile_Python-CoffeeScript
train
py,py
35b487f1c3faf483b8ae5a7556faf4e2e5dcf244
diff --git a/tests/test_network_interface.js b/tests/test_network_interface.js index <HASH>..<HASH> 100644 --- a/tests/test_network_interface.js +++ b/tests/test_network_interface.js @@ -1,8 +1,13 @@ -var mdns_test = require('../utils/lib/mdns_test') +var os = require('os') + , mdns_test = require('../utils/lib/mdns_t...
[iface] fixed tests on linux
agnat_node_mdns
train
js
62978cb7a03600269afd296e3464e9a35a1fc34f
diff --git a/tests/unit/doc_test.py b/tests/unit/doc_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/doc_test.py +++ b/tests/unit/doc_test.py @@ -48,12 +48,13 @@ class DocTestCase(TestCase): key, val = line.split(':', 1) - # Don't test man pages or this file - if 'man' in key...
Don't check the doc/conf.py file for doc markup refs
saltstack_salt
train
py
eb857b4d67858d9f372c33fa3d79b623937d6ca1
diff --git a/structr-ui/src/main/java/org/structr/web/entity/dom/DOMElement.java b/structr-ui/src/main/java/org/structr/web/entity/dom/DOMElement.java index <HASH>..<HASH> 100644 --- a/structr-ui/src/main/java/org/structr/web/entity/dom/DOMElement.java +++ b/structr-ui/src/main/java/org/structr/web/entity/dom/DOMElemen...
Removed returning of dummy data object in another place
structr_structr
train
java
e0bb17bbb7fd66b239a1f5f702966401a0fc4292
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -106,6 +106,12 @@ class FunctionalityTests(unittest.TestCase): search_path='testdata') self.assertIn(join('testdata', 'secure.ini'), conf.loaded_files) + def test_secured_nonexisting_fil...
Added a test for nonexisting & secured files.
exhuma_config_resolver
train
py
b3885b7fe4fb2c72c3c467b51e68405afff7ca51
diff --git a/src/viz/helpers/ui/titles.js b/src/viz/helpers/ui/titles.js index <HASH>..<HASH> 100644 --- a/src/viz/helpers/ui/titles.js +++ b/src/viz/helpers/ui/titles.js @@ -71,7 +71,7 @@ module.exports = function(vars) { var pct = (total/overall_total)*100, ot = vars.format.value(overall_tot...
removed extra % in total sub-title
alexandersimoes_d3plus
train
js
7fb58a7777d7a67b20f1d052f9597bcfeca2ee3b
diff --git a/lib/neo4j/rails/rack_middleware.rb b/lib/neo4j/rails/rack_middleware.rb index <HASH>..<HASH> 100644 --- a/lib/neo4j/rails/rack_middleware.rb +++ b/lib/neo4j/rails/rack_middleware.rb @@ -32,6 +32,7 @@ module Neo4j status, headers, body = @app.call(env) [status, headers, Body.new(body, enab...
Make sure IdentityMap is cleared after an exception, closes #<I>
neo4jrb_neo4j
train
rb
2073ad7f2aa068485d50293e4b5130eaae61aa49
diff --git a/lib/tumblr-oauth/client.rb b/lib/tumblr-oauth/client.rb index <HASH>..<HASH> 100644 --- a/lib/tumblr-oauth/client.rb +++ b/lib/tumblr-oauth/client.rb @@ -1,4 +1,6 @@ module TumblrOAuth class Client + def initialize(options) + end end end diff --git a/spec/tumblr-oauth_spec.rb b/spec/tumblr-oa...
Add specs for TumblrOAuth
shir_tumblr-oauth
train
rb,rb
46c7d411828abdf588a4e6b6933a04c6cb84c82e
diff --git a/state/conn_test.go b/state/conn_test.go index <HASH>..<HASH> 100644 --- a/state/conn_test.go +++ b/state/conn_test.go @@ -59,11 +59,6 @@ func (cs *ConnSuite) TearDownTest(c *C) { cs.LoggingSuite.TearDownTest(c) } -func (cs *ConnSuite) Reset(c *C) { - cs.TearDownTest(c) - cs.SetUpTest(c) -} - func (s ...
state: revert conn_test.go
juju_juju
train
go
dd6b0a70b8fe99c544575c635e7b9c517b81e109
diff --git a/spec/unit/configurer_spec.rb b/spec/unit/configurer_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/configurer_spec.rb +++ b/spec/unit/configurer_spec.rb @@ -378,6 +378,15 @@ describe Puppet::Configurer do expect(report.metrics['time']['total']).to be_a_kind_of(Numeric) end + it 'inclu...
(PUP-<I>) Add unit test from 3e<I>e Add unit test for recording total time when catalog retrieval fails.
puppetlabs_puppet
train
rb
c232fbb3606a34981b16080b2cac58d410902f4c
diff --git a/state/presence/pingbatcher.go b/state/presence/pingbatcher.go index <HASH>..<HASH> 100644 --- a/state/presence/pingbatcher.go +++ b/state/presence/pingbatcher.go @@ -336,7 +336,7 @@ func (pb *PingBatcher) flush() error { } } // usually we should only be processing 1 slot - logger.Tracef("[%v] pingba...
Change the timestamp to be simply millisecond resolution.
juju_juju
train
go
e81fafeefacfd0a0763f5fcf651270efbdef93ec
diff --git a/command/fmt.go b/command/fmt.go index <HASH>..<HASH> 100644 --- a/command/fmt.go +++ b/command/fmt.go @@ -290,6 +290,8 @@ Options: -check Check if the input is formatted. Exit status will be 0 if all input is properly formatted and non-zero otherwise. + -no-color If spe...
Mention the -no-color option This option is a valid option for the fmt subcommand, but it isn't listed in the help text.
hashicorp_terraform
train
go
847192794b617aee8a5c12b861fd2fa904c99bdb
diff --git a/lib/riemann/babbler/plugins/tw_cli.rb b/lib/riemann/babbler/plugins/tw_cli.rb index <HASH>..<HASH> 100644 --- a/lib/riemann/babbler/plugins/tw_cli.rb +++ b/lib/riemann/babbler/plugins/tw_cli.rb @@ -2,7 +2,7 @@ class Riemann::Babbler::TwCli < Riemann::Babbler def init plugin.set_default(:service, ...
tw_cli: support multiple controllers * support multiple controllers * simplified a bit
vadv_riemann-babbler
train
rb
ab96364823196a526292b886d05adcd3efd7e02f
diff --git a/go/jsonrpc2/client.go b/go/jsonrpc2/client.go index <HASH>..<HASH> 100644 --- a/go/jsonrpc2/client.go +++ b/go/jsonrpc2/client.go @@ -108,7 +108,7 @@ func (c *Client) Call(ctx context.Context, method string, args interface{}, tena start := time.Now() resp, err := httpClient.Do(r) elapsed := time.Now(...
CHange logging level to Debug
inverse-inc_packetfence
train
go
12e7c86556a8b2906157f9574533de06150dea5a
diff --git a/src/Console/Command/Cache.php b/src/Console/Command/Cache.php index <HASH>..<HASH> 100644 --- a/src/Console/Command/Cache.php +++ b/src/Console/Command/Cache.php @@ -65,11 +65,7 @@ class Cache extends Command */ protected function getFreshApplication() { - if (method_exists($this->la...
Laravel <I> should have boostrapPath() by default.
laravie_api
train
php
060b1c1b94f373c58d6247582e26d2cd086cc4fe
diff --git a/simulator/src/main/java/com/hazelcast/simulator/provisioner/Provisioner.java b/simulator/src/main/java/com/hazelcast/simulator/provisioner/Provisioner.java index <HASH>..<HASH> 100644 --- a/simulator/src/main/java/com/hazelcast/simulator/provisioner/Provisioner.java +++ b/simulator/src/main/java/com/hazelc...
Fixed creation of empty lib directory.
hazelcast_hazelcast-simulator
train
java
ebf428cbcd2aa1ecebf7e724a549ea9ab7018d05
diff --git a/src/Rcm/Model/SiteFactory.php b/src/Rcm/Model/SiteFactory.php index <HASH>..<HASH> 100644 --- a/src/Rcm/Model/SiteFactory.php +++ b/src/Rcm/Model/SiteFactory.php @@ -112,6 +112,7 @@ class SiteFactory extends EntityMgrAware $localName='de_DE.UTF-8'; setlocale(LC_ALL, $localName); + ...
fix locale logic - PROD-<I> Use commas for decimals in euro and other countries
reliv_Rcm
train
php
41be3176059af8befd740000bd96c83ffcc675f0
diff --git a/app/models/alchemy/page.rb b/app/models/alchemy/page.rb index <HASH>..<HASH> 100644 --- a/app/models/alchemy/page.rb +++ b/app/models/alchemy/page.rb @@ -70,9 +70,11 @@ module Alchemy stampable stamper_class_name: Alchemy.user_class_name + belongs_to :language + + has_one :site, through: :la...
Adds site association to page model Shortcut through page's associated language
AlchemyCMS_alchemy_cms
train
rb,rb
4a25733cae517f5783bf8130474230001fdf077f
diff --git a/symphony/content/content.blueprintsevents.php b/symphony/content/content.blueprintsevents.php index <HASH>..<HASH> 100644 --- a/symphony/content/content.blueprintsevents.php +++ b/symphony/content/content.blueprintsevents.php @@ -116,11 +116,13 @@ $fieldset->appendChild($group); $label = Wid...
Ensures that filters is an array
symphonycms_symphony-2
train
php
d6d4dca250b0562158fe4357cfd4852033f029cf
diff --git a/package.js b/package.js index <HASH>..<HASH> 100644 --- a/package.js +++ b/package.js @@ -29,7 +29,7 @@ Package.registerBuildPlugin({ Package.on_use(function (api) { api.versionsFrom('METEOR@0.9.0.1'); - api.use('angular:angular@1.3.15_1', 'client'); + api.use('angular:angular@1.4.0', 'client'); ...
(Dependencies): Update Angular to <I>
Urigo_angular-meteor
train
js
243b9af2b69530f5c3e85669839da468c0cd5958
diff --git a/pysat/instruments/sw_f107.py b/pysat/instruments/sw_f107.py index <HASH>..<HASH> 100644 --- a/pysat/instruments/sw_f107.py +++ b/pysat/instruments/sw_f107.py @@ -163,8 +163,14 @@ def list_files(tag=None, sat_id=None, data_path=None, format_str=None): # resample file list to provide the same fi...
Update sw_f<I>.py Improved file handling so the most recent f<I> 'all' file is always used.
rstoneback_pysat
train
py
bbf43402c4d471cefb85df2661599e65efb2b7df
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -74,7 +74,7 @@ setup( 'tensorflow>=1.13,<1.14', # Must be on piwheels 'sonopy', 'pyaudio', - 'keras', + 'keras<=2.1.5', 'h5py', 'wavio', 'typing',
Lock keras version to <I>
MycroftAI_mycroft-precise
train
py
a67dd1d91f2e2052bfea4e53ae7677fd6418083f
diff --git a/src/org/jgroups/protocols/ENCRYPT.java b/src/org/jgroups/protocols/ENCRYPT.java index <HASH>..<HASH> 100644 --- a/src/org/jgroups/protocols/ENCRYPT.java +++ b/src/org/jgroups/protocols/ENCRYPT.java @@ -1,6 +1,6 @@ -// $Id: ENCRYPT.java,v 1.5 2004/10/04 20:18:05 belaban Exp $ +// $Id: ENCRYPT.java,v 1.6...
added function logging for dropping of messages with unrecognized keys
belaban_JGroups
train
java
cd1211df802b81d8f6bfa784f940f0689b6d74fc
diff --git a/sequelize/migrations/flow_node_instance/4.2.0-4.3.0-flow_node_instances.js b/sequelize/migrations/flow_node_instance/4.2.0-4.3.0-flow_node_instances.js index <HASH>..<HASH> 100644 --- a/sequelize/migrations/flow_node_instance/4.2.0-4.3.0-flow_node_instances.js +++ b/sequelize/migrations/flow_node_instance/...
:bug: Fix reference error in flow node instance migration script
process-engine_process_engine_runtime
train
js
83d07b0a7b38842c5a5ac4453f7b8114bef65c62
diff --git a/cldoc/tree.py b/cldoc/tree.py index <HASH>..<HASH> 100644 --- a/cldoc/tree.py +++ b/cldoc/tree.py @@ -30,10 +30,15 @@ import os, sys, sets, re, glob, platform from ctypes.util import find_library if platform.system() == 'Darwin': - libclang = '/Applications/Xcode.app/Contents/Developer/Toolchains/Xc...
Add search path for libclang on OS X
jessevdk_cldoc
train
py
479a82f386fa8fd6f6d59e1789c352d437f1340a
diff --git a/tests/test_connect.py b/tests/test_connect.py index <HASH>..<HASH> 100644 --- a/tests/test_connect.py +++ b/tests/test_connect.py @@ -109,8 +109,21 @@ class TestAuthentication(tb.ConnectedTestCase): with self.assertRaisesRegex( asyncpg.InvalidAuthorizationSpecificationError, ...
Attempt to fix spurious failures of test_auth_reject on Windows
MagicStack_asyncpg
train
py
f10f602d52e9948f407bbfc5dc004fdfb471af60
diff --git a/test/test.js b/test/test.js index <HASH>..<HASH> 100644 --- a/test/test.js +++ b/test/test.js @@ -573,7 +573,7 @@ var fixtures=[{ ] },{ base:'stable-project-v0.3.0', - title:'check last version (0.3.0)', + title:'lack of mandatory travis checks', change:function(info){ var co...
'incorrect allowed failures in travis' (#<I>)
codenautas_qa-control
train
js
95ac0de7a7aafb9e9661ce87f04b4302e6c5e3be
diff --git a/src/java/org/apache/cassandra/net/MessagingService.java b/src/java/org/apache/cassandra/net/MessagingService.java index <HASH>..<HASH> 100644 --- a/src/java/org/apache/cassandra/net/MessagingService.java +++ b/src/java/org/apache/cassandra/net/MessagingService.java @@ -548,7 +548,7 @@ public final class Me...
fix assert for counters (CASSANDRA-<I>)
Stratio_stratio-cassandra
train
java
a463ceca62b070757f3c74f7f550ec78e46a9893
diff --git a/src/cursor/DragPlaneEffect.js b/src/cursor/DragPlaneEffect.js index <HASH>..<HASH> 100644 --- a/src/cursor/DragPlaneEffect.js +++ b/src/cursor/DragPlaneEffect.js @@ -44,6 +44,13 @@ DragPlaneEffect = function ( params ) { // Intended as a debugging aide. Mesh with SphereGeometry works well. this.dragPoi...
Drag util now listens for cursorup on scene Note this will only work if cursorup happens over an object, such as the board on which a piece is being dragged.
AltspaceVR_AltspaceSDK
train
js
ea950a44f78ea00acb385eef68e20c25b99841bd
diff --git a/src/ObjectDescription.js b/src/ObjectDescription.js index <HASH>..<HASH> 100644 --- a/src/ObjectDescription.js +++ b/src/ObjectDescription.js @@ -19,6 +19,9 @@ export default class ObjectDescription extends Component{ if(object === null){ return (<span className="ObjectInspector-object-...
Display Dates in string form instead of showing 'Object {}'.
xyc_react-object-inspector
train
js,js
f6db2332cd8f5624b05e8583e979631fa98d3fd3
diff --git a/boilerplate/App/Redux/AccountRedux.js b/boilerplate/App/Redux/AccountRedux.js index <HASH>..<HASH> 100644 --- a/boilerplate/App/Redux/AccountRedux.js +++ b/boilerplate/App/Redux/AccountRedux.js @@ -53,4 +53,6 @@ export const reducer = createReducer(INITIAL_STATE, { /* ------------- Selectors -----------...
add method to get user's login
ruddell_ignite-jhipster
train
js
93a7bbe94b29831ed54c2875386f31c85d69c33d
diff --git a/install.py b/install.py index <HASH>..<HASH> 100644 --- a/install.py +++ b/install.py @@ -324,9 +324,9 @@ def install(inst, version): elif version is None: # install the stable version subprocess.check_call([pycmd, '-m', 'pip', 'install', '--upgrade', 'openqua...
reset change for the installing of official version
gem_oq-engine
train
py
fa49b47c7089251b50ead66d6db19e633fd0a20b
diff --git a/lib/fromPgn.js b/lib/fromPgn.js index <HASH>..<HASH> 100644 --- a/lib/fromPgn.js +++ b/lib/fromPgn.js @@ -598,7 +598,7 @@ fieldTypeReaders['ASCII or UNICODE string starting with length and control byte' if ( field.Name === 'AtoN Name' && len > 20 ) { nameLen = 20 - } else if ( len == 0 ) {...
fix: error when a string is encoded improperly (#<I>)
canboat_canboatjs
train
js
02660a7d73ec9dbfd31a2442f0a88138ec936abc
diff --git a/src/rasterstats/main.py b/src/rasterstats/main.py index <HASH>..<HASH> 100644 --- a/src/rasterstats/main.py +++ b/src/rasterstats/main.py @@ -257,12 +257,12 @@ def zonal_stats(vectors, raster, layer_num=0, band_num=1, nodata_value=None, feature_stats['median'] = float(np.median(masked.comp...
cast to float; fixes #<I>
perrygeo_python-rasterstats
train
py
26615de54800c9343c7be0f3bbd8d5734b32d6be
diff --git a/querydsl-apt/src/test/java/com/querydsl/apt/GenericExporterTest.java b/querydsl-apt/src/test/java/com/querydsl/apt/GenericExporterTest.java index <HASH>..<HASH> 100644 --- a/querydsl-apt/src/test/java/com/querydsl/apt/GenericExporterTest.java +++ b/querydsl-apt/src/test/java/com/querydsl/apt/GenericExporte...
Add QHierarchyTest_A2 to the expected 'failures' Since the field and property accessor type are different, the effective type isn't consistent so the build might fail
querydsl_querydsl
train
java
00549000b0917de09bd40423dd1b7b52500d6c38
diff --git a/webpack.config.js b/webpack.config.js index <HASH>..<HASH> 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -136,9 +136,7 @@ const webpackConfig = { }, plugins: _.compact( [ new webpack.DefinePlugin( { - 'process.env': { - NODE_ENV: JSON.stringify( bundleEnv ) - }, + 'process.env.N...
Webpack: don't overwrite process.env, only process.env.NODE_ENV (#<I>)
Automattic_wp-calypso
train
js
3e419c72f632fe55bfdd4dcf9d96bd6c84e2d6f2
diff --git a/app/controllers/storytime/pages_controller.rb b/app/controllers/storytime/pages_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/storytime/pages_controller.rb +++ b/app/controllers/storytime/pages_controller.rb @@ -11,6 +11,9 @@ module Storytime if request.path != page_path(@page) ...
Allow overriding of single page template by host app
CultivateLabs_storytime
train
rb
dce06630281cc9c1a3104612e115bfbc89a6c7c8
diff --git a/src/FactoryMuffin.php b/src/FactoryMuffin.php index <HASH>..<HASH> 100644 --- a/src/FactoryMuffin.php +++ b/src/FactoryMuffin.php @@ -77,6 +77,24 @@ class FactoryMuffin } /** + * Returns multiple versions of an object + * @param integer $times How many times do you wih to return this o...
Add "seed" method This allows us to return multiple amounts of the same object type. This is very helpful when generating random seed data for the DB.
thephpleague_factory-muffin
train
php
65141163a199fa091e14ceedff51017df224efb4
diff --git a/src/main/java/de/btobastian/javacord/entities/Icon.java b/src/main/java/de/btobastian/javacord/entities/Icon.java index <HASH>..<HASH> 100644 --- a/src/main/java/de/btobastian/javacord/entities/Icon.java +++ b/src/main/java/de/btobastian/javacord/entities/Icon.java @@ -30,6 +30,15 @@ public interface Icon ...
Added Icon#isAnimated()
Javacord_Javacord
train
java
c0c2e552ed5b7d3a5cf75e87d464fb330f0879f8
diff --git a/user_agent.go b/user_agent.go index <HASH>..<HASH> 100644 --- a/user_agent.go +++ b/user_agent.go @@ -126,7 +126,10 @@ func (p *UserAgent) Parse(ua string) { p.mozilla = sections[0].version if !p.bot { for _, v := range sections { - p.checkBot(v.comment) + if p.isBot(v.comment) { + p.bo...
Leave early if the user agent belongs to a bot.
mssola_user_agent
train
go
93239ae3fb1d1cb9d9db6dfeef1793f1da1fa3f4
diff --git a/lib/express/plugins/logger.js b/lib/express/plugins/logger.js index <HASH>..<HASH> 100644 --- a/lib/express/plugins/logger.js +++ b/lib/express/plugins/logger.js @@ -14,7 +14,7 @@ var sys = require('sys'), var formats = { common: function(event, start) { - printf('%s - - [%s] "%s %s HTTP/%d.%d" %...
Logger "common" format scale of <I>f
expressjs_express
train
js
98160c7ac3cf3ef7afa5f9001de500b6b1af78b3
diff --git a/py/pysparkling/context.py b/py/pysparkling/context.py index <HASH>..<HASH> 100644 --- a/py/pysparkling/context.py +++ b/py/pysparkling/context.py @@ -183,7 +183,8 @@ class H2OContext(object): def __stop(self): try: - h2o.cluster().shutdown() + if not (self._conf.is_man...
[SW-<I>] Pysparkling in external backend, manual mode stops the backend cluster, but the cluster should be left intact (#<I>)
h2oai_sparkling-water
train
py
b5fcd6c7cbb27c90a423a6bb91e60609333b29cb
diff --git a/test/test.js b/test/test.js index <HASH>..<HASH> 100644 --- a/test/test.js +++ b/test/test.js @@ -29,9 +29,6 @@ describe( 'validate.io-safe-integer-array', function tests() { bool = isSafeIntegerArray( [1,2,3] ); assert.ok( bool, 'primitive array' ); - - bool = isSafeIntegerArray( [new Number( Mat...
[FIX] native isSafeInteger does not support Number objects.
validate-io_safe-integer-array
train
js
0f53f73e6bb49c2dd0c1cea0d4a991a19e5c6767
diff --git a/src/Property/Scalar/Scalar.php b/src/Property/Scalar/Scalar.php index <HASH>..<HASH> 100644 --- a/src/Property/Scalar/Scalar.php +++ b/src/Property/Scalar/Scalar.php @@ -9,14 +9,14 @@ use Stratadox\Hydration\MapsProperty; abstract class Scalar extends FromSingleKey { - public static function inPrope...
Use self over interface or class names in named constructor
Stratadox_HydrationMapping
train
php
e1dfbc9fb659a21dccfa9642652974ec95feba26
diff --git a/glue/lal.py b/glue/lal.py index <HASH>..<HASH> 100644 --- a/glue/lal.py +++ b/glue/lal.py @@ -524,7 +524,7 @@ class Cache(list): """ return [entry.path() for entry in self] - def check(self): + def checkfilesexist(self): ''' Runs through the entries of the Cache() object and checks each entry...
method lal.Cache.check() was renamed in lal.Cache.checkfilesexist()
gwastro_pycbc-glue
train
py
4261b8d9cb8619a756ec2e8c92c4367ea882ed87
diff --git a/classes/Gems/Menu/MenuAbstract.php b/classes/Gems/Menu/MenuAbstract.php index <HASH>..<HASH> 100644 --- a/classes/Gems/Menu/MenuAbstract.php +++ b/classes/Gems/Menu/MenuAbstract.php @@ -291,7 +291,7 @@ abstract class Gems_Menu_MenuAbstract // AUTOMATIC COMMUNICATION CONTROLLER $page =...
Renamed mail on/off right
GemsTracker_gemstracker-library
train
php
30319fc770ee26d81d5399ee82913329b0680567
diff --git a/tests/Unit/Application/Controller/ViewTest.php b/tests/Unit/Application/Controller/ViewTest.php index <HASH>..<HASH> 100644 --- a/tests/Unit/Application/Controller/ViewTest.php +++ b/tests/Unit/Application/Controller/ViewTest.php @@ -412,8 +412,8 @@ class ViewTest extends \OxidTestCase $config =...
OXDEV-<I> Allow any amount of calls on isSssl and getSslShopUrl in test
OXID-eSales_oxideshop_ce
train
php
ed36e739d86217d27a782fea1c8213db3b8c64cc
diff --git a/react_components/PageView.js b/react_components/PageView.js index <HASH>..<HASH> 100755 --- a/react_components/PageView.js +++ b/react_components/PageView.js @@ -45,7 +45,7 @@ const PageView = (props) => { return ( <li className={pageClassName}> <a - role="button" + role={!href...
Remove button role for links with an href
AdeleD_react-paginate
train
js
068c2d4938bafe4c7fa12cf9aff4fb6b5e1f1e0e
diff --git a/lib/platform/github/index.js b/lib/platform/github/index.js index <HASH>..<HASH> 100644 --- a/lib/platform/github/index.js +++ b/lib/platform/github/index.js @@ -1063,8 +1063,9 @@ async function getOpenPrs() { } else { const baseCommitSHA = await getBaseCommitSHA(); if ( + ...
fix(github): check for parent edges
renovatebot_renovate
train
js
74a4a7eb8feb45edf3144b127645d8b557af8286
diff --git a/src/Cache.php b/src/Cache.php index <HASH>..<HASH> 100644 --- a/src/Cache.php +++ b/src/Cache.php @@ -216,13 +216,13 @@ class Cache { $dir = static::config('directory'); - $dh = opendir($dir); - while ($file = readdir($dh)) { + $handle = opendir($dir); + while ($...
Changed variable names to improve readablity
kabirbaidhya_AwesomeCache
train
php
4f61ed341c14735209943cb0a9251b52dfe72622
diff --git a/libkbfs/prefetcher.go b/libkbfs/prefetcher.go index <HASH>..<HASH> 100644 --- a/libkbfs/prefetcher.go +++ b/libkbfs/prefetcher.go @@ -580,10 +580,16 @@ func (p *blockPrefetcher) stopIfNeeded( return false } + defer func() { + if doStop { + p.log.CDebugf(ctx, + "stopping prefetch for block %s d...
prefetcher: general message about full cache prefetch stopping Issue: KBFS-<I>
keybase_client
train
go
50f790a7e423fdfbc776239672160f806dd12b86
diff --git a/src/Bridges/Dibi/DataSources/DibiWrapperDataSource.php b/src/Bridges/Dibi/DataSources/DibiWrapperDataSource.php index <HASH>..<HASH> 100644 --- a/src/Bridges/Dibi/DataSources/DibiWrapperDataSource.php +++ b/src/Bridges/Dibi/DataSources/DibiWrapperDataSource.php @@ -9,7 +9,7 @@ use Tlapnet\Report\Exceptions...
Typo: duplicated DibiDataSources
tlapnet_report
train
php
b40226a6097541fb51ab53811fa1d1e46068040b
diff --git a/lib/Generate.js b/lib/Generate.js index <HASH>..<HASH> 100644 --- a/lib/Generate.js +++ b/lib/Generate.js @@ -60,7 +60,8 @@ function generateElmJson( 'elm-stuff', 'generated-code', 'elm-explorations', - 'test' + 'test', + '0.19.1' ) ); const elmJsonPath = path...
Include <I> in the Generate path
rtfeldman_node-test-runner
train
js
7dd160d5eb1421ec3d54e4d602639ec5be4b5fae
diff --git a/src/webmidi.js b/src/webmidi.js index <HASH>..<HASH> 100644 --- a/src/webmidi.js +++ b/src/webmidi.js @@ -3044,7 +3044,8 @@ /** * Returns a MIDI note number matching the note name passed in the form of a string parameter. The * note name must include the octave number which should be between -2 ...
Added support for double sharps and double flats.
djipco_webmidi
train
js
effd43bc5671009de80fb3e9cec76b1ec33201cd
diff --git a/pixelgl/window.go b/pixelgl/window.go index <HASH>..<HASH> 100644 --- a/pixelgl/window.go +++ b/pixelgl/window.go @@ -173,6 +173,13 @@ func (w *Window) Destroy() { // Update swaps buffers and polls events. Call this method at the end of each frame. func (w *Window) Update() { + w.SwapBuffers() + w.Upda...
Expose pixelgl.Window.SwapBuffers Allow buffers to be swapped without polling input, offering decoupling symmetrical with that provided by UpdateInput.
faiface_pixel
train
go
047c1953d2c9f2005b367a27ad403c9ee3be64ab
diff --git a/src/Symfony/Bridge/Twig/Extension/YamlExtension.php b/src/Symfony/Bridge/Twig/Extension/YamlExtension.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bridge/Twig/Extension/YamlExtension.php +++ b/src/Symfony/Bridge/Twig/Extension/YamlExtension.php @@ -39,6 +39,10 @@ class YamlExtension extends \Twig_Exte...
[TwigBridge] forward compatibility with Yaml <I>
symfony_symfony
train
php
a28ffcc19bcd01a42e9186efb04435b9f3bdff66
diff --git a/test/seahorse/client_plugins_test.rb b/test/seahorse/client_plugins_test.rb index <HASH>..<HASH> 100644 --- a/test/seahorse/client_plugins_test.rb +++ b/test/seahorse/client_plugins_test.rb @@ -30,7 +30,7 @@ module Seahorse assert_equal([Plugin1], client_class.plugins) end - it 'does...
Renamed a few specs for clarity.
aws_aws-sdk-ruby
train
rb
80ae75b1669724791a9d03a5f8b6864b6749a655
diff --git a/README.rst b/README.rst index <HASH>..<HASH> 100644 --- a/README.rst +++ b/README.rst @@ -116,6 +116,10 @@ Instead your application should use the API defined by Changelog ********* +New in version 0.3.2 +==================== +- Fixed a bug where MemcacheTokenStore saved objects instead of dictionaries...
Added info of version <I>
wndhydrnt_python-oauth2
train
rst,py,py
91f638c8ca8620a4a2feaa32cab41a218f8cb4b4
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -238,8 +238,8 @@ Uploader.prototype._upload = function() { xhr.open(this.method.toUpperCase(), this.url); xhr.onerror = function() { - var message = this.statusText || 'xhr failed to upload'; - se...
Fire files:cleared event when clearFiles() is called
mpangrazzi_html5-uploader
train
js
d3a6175e026d00f93cd0683faca1b1254788f352
diff --git a/lib/stripe/handlers/customer.subscription.deleted.js b/lib/stripe/handlers/customer.subscription.deleted.js index <HASH>..<HASH> 100644 --- a/lib/stripe/handlers/customer.subscription.deleted.js +++ b/lib/stripe/handlers/customer.subscription.deleted.js @@ -12,6 +12,7 @@ module.exports = function (data, ca...
Adding catch for error in db operations
jsbin_jsbin
train
js
f195aa69dca22cdc3788babb06c02bd4be677507
diff --git a/lib/node_modules/@stdlib/_tools/lint/license-header/lib/main.js b/lib/node_modules/@stdlib/_tools/lint/license-header/lib/main.js index <HASH>..<HASH> 100644 --- a/lib/node_modules/@stdlib/_tools/lint/license-header/lib/main.js +++ b/lib/node_modules/@stdlib/_tools/lint/license-header/lib/main.js @@ -35,7 ...
Fix handling of regular expressions which include line break characters
stdlib-js_stdlib
train
js
e4107ffdfd869e785d9b2e1fd2803335fccac8c2
diff --git a/eqcorrscan/core/match_filter.py b/eqcorrscan/core/match_filter.py index <HASH>..<HASH> 100644 --- a/eqcorrscan/core/match_filter.py +++ b/eqcorrscan/core/match_filter.py @@ -662,11 +662,11 @@ def match_filter(template_names, template_list, st, threshold, ev.comments.append(Comment(text=thr...
put min_template_tm before loop
eqcorrscan_EQcorrscan
train
py
c497e82a4cb866d10b4102370a5cebb7e2a81c9c
diff --git a/pbs.py b/pbs.py index <HASH>..<HASH> 100644 --- a/pbs.py +++ b/pbs.py @@ -34,7 +34,7 @@ from functools import partial -__version__ = "0.90" +__version__ = "0.91" __project_url__ = "https://github.com/amoffat/pbs" IS_PY3 = sys.version_info[0] == 3
command baking! see readme. <I>
amoffat_sh
train
py
ce05b79007ad4c162eb192f9f844eb4da5e4ed67
diff --git a/lib/celluloid/actor.rb b/lib/celluloid/actor.rb index <HASH>..<HASH> 100644 --- a/lib/celluloid/actor.rb +++ b/lib/celluloid/actor.rb @@ -371,7 +371,7 @@ module Celluloid # Run a method inside a task unless it's exclusive def task(task_type, method_name = nil, &block) - if @exclusives && m...
Fix operation in exclusive :all mode
celluloid_celluloid
train
rb
e82bc421d70805ff308e11a1f0f1fcd7fb2b3186
diff --git a/src/adal.mod.js b/src/adal.mod.js index <HASH>..<HASH> 100644 --- a/src/adal.mod.js +++ b/src/adal.mod.js @@ -4,6 +4,7 @@ import AuthenticationContext from './adal'; * Validates each resource token in cache againt current user */ AuthenticationContext.prototype.invalidateResourceTokens = function () {...
Added null-check for endpoints
salvoravida_react-adal
train
js
d2adf1306ba4f1a495d896fdc2b17836ed72ea7c
diff --git a/pipenv/utils.py b/pipenv/utils.py index <HASH>..<HASH> 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -471,12 +471,12 @@ def actually_resolve_deps( warning_list = [] with warnings.catch_warnings(record=True) as warning_list: - constraints = get_resolver_metadata( - deps, index_...
Why doesnt this stay indented...
pypa_pipenv
train
py
fe76c6b70c97e90f174e25afafeb8e939c7ff84e
diff --git a/lib/salesforce_bulk_api/connection.rb b/lib/salesforce_bulk_api/connection.rb index <HASH>..<HASH> 100644 --- a/lib/salesforce_bulk_api/connection.rb +++ b/lib/salesforce_bulk_api/connection.rb @@ -75,7 +75,7 @@ require 'timeout' def parse_instance() @instance=@server_url.match(/https:\/\/[a-...
remove blank? usage since activesupport is not a dependency
yatish27_salesforce_bulk_api
train
rb
6b136375e7a1d479d71306fdf054b947fd44cdb5
diff --git a/programs/pmag_gui.py b/programs/pmag_gui.py index <HASH>..<HASH> 100755 --- a/programs/pmag_gui.py +++ b/programs/pmag_gui.py @@ -25,10 +25,7 @@ from dialogs import ErMagicBuilder from dialogs import demag_dialogs from dialogs import pmag_widgets as pw -try: - from programs import demag_gui -except:...
Pmag GUI should always import demag gui and demag gui should not write to log file when called from Pmag GUI
PmagPy_PmagPy
train
py
37426aa3530f981f1e5f2038978296bb7d6f5c1c
diff --git a/src/Dripper.php b/src/Dripper.php index <HASH>..<HASH> 100644 --- a/src/Dripper.php +++ b/src/Dripper.php @@ -27,7 +27,7 @@ class Dripper extends Model . "}" . "setInterval(function () { caffeineSendDrip(); }, $this->interval);" . "setInterval(function () {" - ...
Wtf was I doing? threshold is fine by itself
GeneaLabs_laravel-caffeine
train
php
3f7bd170bcaa531054625064a13aa74ee9b459dc
diff --git a/src/extension.js b/src/extension.js index <HASH>..<HASH> 100644 --- a/src/extension.js +++ b/src/extension.js @@ -105,18 +105,20 @@ function setExtension( type, name, registrant ){ return this._private.cy; }; + let getCy = layout => layout._private.cy; + util.assign( layoutProto, { ...
Defensively get cy for layout in case layout implementation erroneously overrides it
cytoscape_cytoscape.js
train
js
e29b6882694e40b30b253331f63d657187746fa8
diff --git a/src/Handler.php b/src/Handler.php index <HASH>..<HASH> 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -197,6 +197,9 @@ class Handler return; } catch (Throwable $exceptionFromPreviousHandler) { + // TODO: if we drop support for PHP 5, we can remove this catch, which...
Ignore errors from PHP 5 compatibility code
bugsnag_bugsnag-php
train
php,php
b2d6245efe4cff8afe1560beb9ad473695fdcc2d
diff --git a/test/chai-react-element.spec.js b/test/chai-react-element.spec.js index <HASH>..<HASH> 100644 --- a/test/chai-react-element.spec.js +++ b/test/chai-react-element.spec.js @@ -55,7 +55,7 @@ describe('ReactElement matcher', function() { }).not.to.throw(); }); - it.only('asserts boolean prop with f...
Added a test and a fix to the bug that happens when trying to assert if an element has a prop with a false value
wix-incubator_chai-react-element
train
js
aa68fd0869bb3163e6c384714b8d836f8fce13ce
diff --git a/src/main/java/edu/washington/cs/knowitall/regex/Expression.java b/src/main/java/edu/washington/cs/knowitall/regex/Expression.java index <HASH>..<HASH> 100644 --- a/src/main/java/edu/washington/cs/knowitall/regex/Expression.java +++ b/src/main/java/edu/washington/cs/knowitall/regex/Expression.java @@ -321,7...
add comment to javadoc about small values being preferred for MinMax
knowitall_openregex
train
java
84d4d0973e49b85428957847c221bc666c9ba85e
diff --git a/src/Meta/Factory/Annotations.php b/src/Meta/Factory/Annotations.php index <HASH>..<HASH> 100644 --- a/src/Meta/Factory/Annotations.php +++ b/src/Meta/Factory/Annotations.php @@ -165,7 +165,7 @@ class Annotations implements Factory $ann = []; $matches = null; - $regex = '/^\s*(?:\...
Fix annotations regex Fixed for extra spaces and window line ending
jasny_meta
train
php
70d2892a56993c37459677d487d017545cf6cb41
diff --git a/ate/runner.py b/ate/runner.py index <HASH>..<HASH> 100644 --- a/ate/runner.py +++ b/ate/runner.py @@ -1,3 +1,4 @@ +import logging from collections import OrderedDict from ate import exception, response, testcase, utils @@ -120,7 +121,12 @@ class Runner(object): extracted_variables_mapping ...
print http response content when exception occured.
HttpRunner_HttpRunner
train
py
028194a0086ad1a4fc3216a3a5c0fb81d11db1a1
diff --git a/test/test.js b/test/test.js index <HASH>..<HASH> 100644 --- a/test/test.js +++ b/test/test.js @@ -196,7 +196,7 @@ describe('gulp-alex', () => { expect(true).to.eql('an error should not happen') }) .on('end', () => { - expect(findUpStub.callCount()).to.eql(1) + ...
fix(test): correct findup call count assertion
dustinspecker_gulp-alex
train
js
5dcef9147496a405bd033fd048ad4917cf543b79
diff --git a/src/Ses/SesClient.php b/src/Ses/SesClient.php index <HASH>..<HASH> 100644 --- a/src/Ses/SesClient.php +++ b/src/Ses/SesClient.php @@ -87,6 +87,17 @@ use Aws\Credentials\CredentialsInterface; */ class SesClient extends \Aws\AwsClient { + /** + * Create an SMTP password for a given IAM user's cred...
Add a docblock to the generateSmtpPassword method
aws_aws-sdk-php
train
php
94ac7856985cd91583dcd5fc90cfa330a41ea84e
diff --git a/src/widgets/combo/VhostCombo.php b/src/widgets/combo/VhostCombo.php index <HASH>..<HASH> 100644 --- a/src/widgets/combo/VhostCombo.php +++ b/src/widgets/combo/VhostCombo.php @@ -18,7 +18,7 @@ class VhostCombo extends Combo public $name = 'domain'; /** @inheritdoc */ - public $url = '/hosting...
VhostCombo - changed URL to vhost/search
hiqdev_hipanel-module-hosting
train
php
696d39de94f08d9d6fac7dcf59665d4f62f631da
diff --git a/ceph_deploy/hosts/centos/uninstall.py b/ceph_deploy/hosts/centos/uninstall.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/hosts/centos/uninstall.py +++ b/ceph_deploy/hosts/centos/uninstall.py @@ -4,9 +4,12 @@ from ceph_deploy.util import pkg_managers def uninstall(conn, purge=False): packages = [ ...
uninstall ceph-release and clean cache in centos
ceph_ceph-deploy
train
py
06f1295f7a2d9ab51e63be763f74c2c2868e5027
diff --git a/alot/db/manager.py b/alot/db/manager.py index <HASH>..<HASH> 100644 --- a/alot/db/manager.py +++ b/alot/db/manager.py @@ -311,7 +311,7 @@ class DBManager(object): db = Database(path=self.path) return {k[6:]: v for k, v in db.get_configs('query.')} - def async(self, cbl, fun): + de...
db/manager: Append underscore to method named async "async" is a reserved keyword in Python <I>, so cannot be used for method names.
pazz_alot
train
py
65acce1bb412fb23999dbd1c12d771af937f3bd9
diff --git a/tornado/web.py b/tornado/web.py index <HASH>..<HASH> 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -1877,9 +1877,10 @@ class StaticFileHandler(RequestHandler): ims_value = self.request.headers.get("If-Modified-Since") if ims_value is not None: date_tuple = email.utils.p...
Add check in case parsedate failed. email.utils.parsedate returns None if failed to parse date, add a check to handle that.
tornadoweb_tornado
train
py
118f8d5ef84fc164c037b0ea5c594c55ef446213
diff --git a/lib/logger.js b/lib/logger.js index <HASH>..<HASH> 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -74,13 +74,7 @@ exports.logEntry = function(logPath, entry, callback){ callback = function(){}; } - fs.createFile(fullName,function(err){ - - if(err){ - callback(e...
write in file sync to enforce the good order of the entries
e2ebridge_e2e-transaction-logger
train
js
d22bbfcde7c8a1807acd2f2fa9a6b276556b0990
diff --git a/fastjsonschema/generator.py b/fastjsonschema/generator.py index <HASH>..<HASH> 100644 --- a/fastjsonschema/generator.py +++ b/fastjsonschema/generator.py @@ -27,6 +27,7 @@ def resolve_path(schema, path): Path is unescaped according https://tools.ietf.org/html/rfc6901 """ + path = path.lstrip...
fix ref fragment parsing: 2 more xpassed
horejsek_python-fastjsonschema
train
py
0228e3b1be1dbc772ac9eeb4fb2e054c4fc506b8
diff --git a/lib/kafka-consumer.js b/lib/kafka-consumer.js index <HASH>..<HASH> 100644 --- a/lib/kafka-consumer.js +++ b/lib/kafka-consumer.js @@ -102,7 +102,8 @@ Consumer.prototype._onWrapper = function (consumerInstance, eventName, cb) { if (!this.valueSchemas[message.topic]) { console.log('KafkaAvro :: W...
fix deserializing when topic not found in SR
waldophotos_kafka-avro
train
js