hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
93620c3ac4ee992a86d2bd6a82c9bf94daa6ce4a
diff --git a/records.py b/records.py index <HASH>..<HASH> 100644 --- a/records.py +++ b/records.py @@ -196,6 +196,11 @@ class Database(object): def __exit__(self, exc, val, traceback): self.close() + def __repr__(self): + status = 'Open' if self.open else 'Closed' + r = '{}(url={}, stat...
Added __repr__ I used __class__.__name__ instead of Database for potential subclasses.
kennethreitz_records
train
5bc1e07c7c52659302284a5f89082f5f24dbff4e
diff --git a/src/renderer/geometry/Painter.js b/src/renderer/geometry/Painter.js index <HASH>..<HASH> 100644 --- a/src/renderer/geometry/Painter.js +++ b/src/renderer/geometry/Painter.js @@ -357,6 +357,10 @@ export default class Painter extends Class { } getHeight() { + const propHeight = this._getHe...
watch geometry's property when rendering with height
maptalks_maptalks.js
train
5e573ff1fa7ccbc13335f9f8bc43bbc7ebfd517e
diff --git a/lib/jsonapi/resource.rb b/lib/jsonapi/resource.rb index <HASH>..<HASH> 100644 --- a/lib/jsonapi/resource.rb +++ b/lib/jsonapi/resource.rb @@ -581,9 +581,9 @@ module JSONAPI resources = [] if resource_class records = public_send(associated_records_method_name) ...
Use resource_class of relationship to apply filters, sorts, and pagination.
cerebris_jsonapi-resources
train
2e0bb27cc0c552e831ce741cfd745298d691dabc
diff --git a/infrastructure/agentlogger/signalable_logger_test.go b/infrastructure/agentlogger/signalable_logger_test.go index <HASH>..<HASH> 100644 --- a/infrastructure/agentlogger/signalable_logger_test.go +++ b/infrastructure/agentlogger/signalable_logger_test.go @@ -24,7 +24,7 @@ var _ = Describe("Signalable logger...
Fix signalable_logger_test to work on CI
cloudfoundry_bosh-agent
train
7201f4224bc3c5811a2b15ed64e5b0a26391f7b2
diff --git a/bin/pivot_variants.py b/bin/pivot_variants.py index <HASH>..<HASH> 100755 --- a/bin/pivot_variants.py +++ b/bin/pivot_variants.py @@ -546,7 +546,7 @@ def get_headers_and_readers(input_dir): header_names = [] first_line = [] - for item in listdir(input_dir): + for item in sorted(listdi...
added sort to get_headers_and_readers
umich-brcf-bioinf_Jacquard
train
9726a79799d9e3f05d2a12b10238d033b23c87f1
diff --git a/src/Firestore/FirestoreClient.php b/src/Firestore/FirestoreClient.php index <HASH>..<HASH> 100644 --- a/src/Firestore/FirestoreClient.php +++ b/src/Firestore/FirestoreClient.php @@ -147,7 +147,10 @@ class FirestoreClient return new WriteBatch( $this->connection, $this->va...
Pass correct database name to WriteBatch (#<I>)
googleapis_google-cloud-php
train
884f636f09dc702649ac45ba6fa62d02e45c4a63
diff --git a/lib/keenio-middleware.js b/lib/keenio-middleware.js index <HASH>..<HASH> 100644 --- a/lib/keenio-middleware.js +++ b/lib/keenio-middleware.js @@ -1,6 +1,47 @@ -var keenioMiddleware = function () { - +var keen = require("keen.io"); + +var keenioMiddleware = function (options) { + + var mandatoryOptio...
Switched back to mocha.
sebinsua_express-keenio
train
150a3652185e5c327dcc3fae7bf1dd981e29c650
diff --git a/tests/forms/fields.py b/tests/forms/fields.py index <HASH>..<HASH> 100644 --- a/tests/forms/fields.py +++ b/tests/forms/fields.py @@ -121,6 +121,23 @@ class FieldBlockTests(unittest.TestCase): self.assertEqual(form.get_field('number').raw_value, '4') self.assertEqual(form.errors, {}) + ...
failing test with FieldBlock iside FieldSet
SmartTeleMax_iktomi
train
92602f7261c1a3eeadccea220d38e8a7658ee528
diff --git a/Classes/Core/Parser/Configuration.php b/Classes/Core/Parser/Configuration.php index <HASH>..<HASH> 100644 --- a/Classes/Core/Parser/Configuration.php +++ b/Classes/Core/Parser/Configuration.php @@ -33,19 +33,10 @@ namespace F3\Fluid\Core\Parser; class Configuration { /** - * generic interceptors regi...
[~TASK] TYPO3: Adjusted Policy.yaml to new expected format. [~TASK] FLOW3: Some small fixes to doc comments and code. [~TASK] Fluid (Parser): Got rid of the constructor in Parser\Configuration. Original-Commit-Hash: 6e<I>e3f<I>e3e<I>bd<I>ff1d<I>c4a<I>e
neos_fluid
train
a14c941da83390162309f306ddb227ad4ef200ea
diff --git a/src/Adapters/Adapter.php b/src/Adapters/Adapter.php index <HASH>..<HASH> 100644 --- a/src/Adapters/Adapter.php +++ b/src/Adapters/Adapter.php @@ -281,7 +281,7 @@ abstract class Adapter */ public function getProviderIcons() { - return call_user_func("{$this->imageClass}::getImagesInfo...
Passed configuration to ImageInfo class from Adapter
oscarotero_Embed
train
f25a6f411793280412b2526f655775c124bb2bbc
diff --git a/test/test_interpolation.py b/test/test_interpolation.py index <HASH>..<HASH> 100755 --- a/test/test_interpolation.py +++ b/test/test_interpolation.py @@ -67,10 +67,11 @@ try: failonmissingfiles=True, interpolate=True ) -except UndefinedError as e: +except hiyapyco.HiYaPyCoImpleme...
fix for Exception matching, as we use now a HiYaPyCoImplementationException as wrapper
zerwes_hiyapyco
train
acdc87d62f626392f3e3deefde70315d7002abf6
diff --git a/model.py b/model.py index <HASH>..<HASH> 100644 --- a/model.py +++ b/model.py @@ -1,15 +1,8 @@ from __future__ import absolute_import, division, print_function import argparse - import tensorflow as tf -from polyaxon_helper import ( - get_log_level, - get_data_paths, - get_outputs_path, - ...
Use client for quick-start instead of the helper
polyaxon_polyaxon
train
2846913552ff3c395818299d11d02e0a19dc348c
diff --git a/cmd/registry-storagedriver-swift/main.go b/cmd/registry-storagedriver-swift/main.go index <HASH>..<HASH> 100644 --- a/cmd/registry-storagedriver-swift/main.go +++ b/cmd/registry-storagedriver-swift/main.go @@ -25,8 +25,4 @@ func main() { if err != nil { panic(err) } - - if err := ipc.StorageDriverSe...
Change folder mime type to application/vnc.swift.directory
docker_distribution
train
cdcdade96ec8a5e291a567d08859c9e8a180f729
diff --git a/interact.js b/interact.js index <HASH>..<HASH> 100755 --- a/interact.js +++ b/interact.js @@ -1566,6 +1566,16 @@ return scroll.isEnabled; }; + /** + * Returns or sets whether or not the browser supports touch input + * + * @function + * @returns {bool} + */ + inter...
Add interact.supportsTouch() supportsTouch returns weather or not the browser supports touch input.
taye_interact.js
train
1ebcb8e65d35d25e5404029312e8fff14e42c328
diff --git a/components/prism-markup.js b/components/prism-markup.js index <HASH>..<HASH> 100644 --- a/components/prism-markup.js +++ b/components/prism-markup.js @@ -16,7 +16,7 @@ Prism.languages.markup = { 'attr-value': { pattern: /=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i, inside: { - 'punctuation': /=|>|"/...
Markup: highlight single quotes in attr-value as punctuation
PrismJS_prism
train
80a1d900b90d967d573cbbc2af6adc1a56a006de
diff --git a/lib/mongo_mapper/plugins/document.rb b/lib/mongo_mapper/plugins/document.rb index <HASH>..<HASH> 100644 --- a/lib/mongo_mapper/plugins/document.rb +++ b/lib/mongo_mapper/plugins/document.rb @@ -25,6 +25,7 @@ module MongoMapper instance.class.associations.each_value do |association| ...
Since nil attributes aren't stored in the database, existing keys need to be nullified on reload
mongomapper_mongomapper
train
a01a566e912ec4906ceedd7af8ab83b6af850647
diff --git a/lib/stripe/plans.rb b/lib/stripe/plans.rb index <HASH>..<HASH> 100644 --- a/lib/stripe/plans.rb +++ b/lib/stripe/plans.rb @@ -3,7 +3,7 @@ module Stripe include ConfigurationBuilder configuration_for :plan do - attr_accessor :name, :amount, :interval, :interval_count, :trial_period_days, :c...
add metadata to plans To allow for plans to have different information attached to them (one use case would be when providing a pricing table) a metadata field has been added.
tansengming_stripe-rails
train
dc4fd15197fc5173c9711a29851e15bd97f93f4d
diff --git a/src/virtual-machine.js b/src/virtual-machine.js index <HASH>..<HASH> 100644 --- a/src/virtual-machine.js +++ b/src/virtual-machine.js @@ -1410,6 +1410,11 @@ class VirtualMachine extends EventEmitter { const variable = target.lookupVariableById(variableId); if (variable) { ...
Make a cloud device requestVariableUpdate when setting a variable through the vm's top level setVariableValue API. Add unit test for new functionality.
LLK_scratch-vm
train
049073506dabdc9d7ce1336381b3460df9b9fe98
diff --git a/postgres/datadog_checks/postgres/postgres.py b/postgres/datadog_checks/postgres/postgres.py index <HASH>..<HASH> 100644 --- a/postgres/datadog_checks/postgres/postgres.py +++ b/postgres/datadog_checks/postgres/postgres.py @@ -668,7 +668,8 @@ SELECT s.schemaname, "host:%s" % host, ...
Add feedback to service check function and test
DataDog_integrations-core
train
c94fb4b7ec5bcd1efe728019e18f34a0028215f6
diff --git a/pipenv/cli.py b/pipenv/cli.py index <HASH>..<HASH> 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -1628,7 +1628,7 @@ def install( ), default=True ): - package_nam...
The new spell-check test passing!
pypa_pipenv
train
73c1aec77e4d9ca38c019c1f9a1910d9b5846d4d
diff --git a/openquake/calculators/hazard/classical/post_processing.py b/openquake/calculators/hazard/classical/post_processing.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/hazard/classical/post_processing.py +++ b/openquake/calculators/hazard/classical/post_processing.py @@ -562,7 +562,7 @@ def compute_q...
calcs/hazard/classical/post_processing: Corrected a comment.
gem_oq-engine
train
1c74e9ecb623a191118b844ba267a84978656824
diff --git a/urbansim/developer/sqftproforma.py b/urbansim/developer/sqftproforma.py index <HASH>..<HASH> 100644 --- a/urbansim/developer/sqftproforma.py +++ b/urbansim/developer/sqftproforma.py @@ -535,6 +535,9 @@ class SqFtProForma(object): and max_height from the input dataframe). """ + ...
small changes to fix warnings that come up in pandas <I>
UDST_urbansim
train
41b26285871129e773cd34be2b828b0396937221
diff --git a/lib/bank_api/clients/banco_security/concerns/deposits.rb b/lib/bank_api/clients/banco_security/concerns/deposits.rb index <HASH>..<HASH> 100644 --- a/lib/bank_api/clients/banco_security/concerns/deposits.rb +++ b/lib/bank_api/clients/banco_security/concerns/deposits.rb @@ -57,7 +57,7 @@ module BankApi::Cli...
refactor(utils/banco-security): Add format_rut
platanus_bank-api-gem
train
e46ae344a9bc63d4c1a743f9fedbe41f35c3eb02
diff --git a/src/main/java/net/kyori/text/BaseComponent.java b/src/main/java/net/kyori/text/BaseComponent.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/kyori/text/BaseComponent.java +++ b/src/main/java/net/kyori/text/BaseComponent.java @@ -212,6 +212,7 @@ public abstract class BaseComponent implements Compon...
Take the obfuscated decoration into account when checking if a component has styling
KyoriPowered_text
train
e54fe04d7a87d7d3ebaf780dd0f7b388e030d91a
diff --git a/dashboardv2/public/js/views/search/SearchResultLayoutView.js b/dashboardv2/public/js/views/search/SearchResultLayoutView.js index <HASH>..<HASH> 100644 --- a/dashboardv2/public/js/views/search/SearchResultLayoutView.js +++ b/dashboardv2/public/js/views/search/SearchResultLayoutView.js @@ -165,7 +165,7 @@ d...
ATLAS-<I>: fix - ui sends same GUID while assigning a tag to multiple entities
apache_incubator-atlas
train
0567c7e92fa55e0687c6638a45060ad343e26f42
diff --git a/tests/test_session.py b/tests/test_session.py index <HASH>..<HASH> 100644 --- a/tests/test_session.py +++ b/tests/test_session.py @@ -23,6 +23,7 @@ import requests import requests_mock from zhmcclient._session import Session +from zhmcclient._client import Client class SessionTests(unittest.TestCa...
Added unit tests for query_job_status and delete_completed_job_status.
zhmcclient_python-zhmcclient
train
b9dbba258ce9dc295bca141f84b7b77f9ac2325d
diff --git a/lib/travis/services/cancel_job.rb b/lib/travis/services/cancel_job.rb index <HASH>..<HASH> 100644 --- a/lib/travis/services/cancel_job.rb +++ b/lib/travis/services/cancel_job.rb @@ -19,6 +19,7 @@ module Travis end def cancel + publish! job.cancel! end @@ -34,6 +35,1...
Send cancel event to the worker when canceling job
travis-ci_travis-core
train
0421d96a1a2ba0ff5e6216b3d6e85efb2150823e
diff --git a/records.py b/records.py index <HASH>..<HASH> 100644 --- a/records.py +++ b/records.py @@ -285,6 +285,10 @@ class Database(object): return results + def in_bulk(self, sql, *multiparams): + """Bulk insert or update.""" + self.db.execute(text(sql), *multiparams) + de...
add support for bulk insert and update.
kennethreitz_records
train
6ac03f458c8ba7bf47bb0754b075e66d4dbf2f2f
diff --git a/tests/test_base.py b/tests/test_base.py index <HASH>..<HASH> 100644 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -270,3 +270,21 @@ class TestBaseObject(unittest.TestCase): sc = Import(os.path.join(os.path.dirname(os.path.abspath(__file__)),'..','example','example.stl')) osc = o + ...
Add more _is_2d tests
taxpon_openpyscad
train
c25e946fb6c23925d7b9ca49f552cfaef441d461
diff --git a/src/artist.py b/src/artist.py index <HASH>..<HASH> 100644 --- a/src/artist.py +++ b/src/artist.py @@ -6,7 +6,7 @@ class Artist(Entity): wraps the artist entity type as described at http://developer.musicmetric.com/timeseries.html all timeseries are attributes of the form self.<type>_<source>, whi...
musicbrainz IDs are not returned reliably with the existing call structure
musicmetric_mmpy
train
3302fa1715e8f0dc2f817861dee1bd836ef8bceb
diff --git a/lib/ronin/ui/cli/commands/help.rb b/lib/ronin/ui/cli/commands/help.rb index <HASH>..<HASH> 100644 --- a/lib/ronin/ui/cli/commands/help.rb +++ b/lib/ronin/ui/cli/commands/help.rb @@ -61,10 +61,10 @@ module Ronin return false end - sub_path = command.tr(':',File...
Man-pages are never stored in directories, namespaces are joined by '-'.
ronin-ruby_ronin
train
ec53432baa971a1c7c8d48917d525f3519546ba7
diff --git a/components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Settings.php b/components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Settings.php index <HASH>..<HASH> 100644 --- a/components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Settings.php +++ b/compone...
Added option to deselect auto template for archive views
pods-framework_pods
train
a025218ea4b1f4dd044786f9da3b34da1f3b6260
diff --git a/extra/influx-copy/src/main/java/com/github/groupon/monsoon/history/influx/FileConvert.java b/extra/influx-copy/src/main/java/com/github/groupon/monsoon/history/influx/FileConvert.java index <HASH>..<HASH> 100644 --- a/extra/influx-copy/src/main/java/com/github/groupon/monsoon/history/influx/FileConvert.jav...
Work around telegraf limitations. Telegraf cannot handle the database-exist test, so allow for that to be suppressed. Telegraf does not handle lines longer than <I>k. So we work around this by testing if a line is shorter than <I>k (gives plenty of buffer).
groupon_monsoon
train
fbd494e16a487504981c78c192884fb3d3fb0143
diff --git a/lib/discordrb/bot.rb b/lib/discordrb/bot.rb index <HASH>..<HASH> 100644 --- a/lib/discordrb/bot.rb +++ b/lib/discordrb/bot.rb @@ -905,7 +905,7 @@ module Discordrb op: 2, # Packet identifier d: { # Packet data v: 3, # WebSocket protocol version - token: 'a' + ...
Remove something I used for debugging
meew0_discordrb
train
47189e598e4eb87f630c1e11f69873897bf01674
diff --git a/cirq/google/api/v2/program.py b/cirq/google/api/v2/program.py index <HASH>..<HASH> 100644 --- a/cirq/google/api/v2/program.py +++ b/cirq/google/api/v2/program.py @@ -99,15 +99,10 @@ def grid_qubit_from_proto_id(proto_id: str) -> 'cirq.GridQubit': match = re.match(GRID_QUBIT_ID_PATTERN, proto_id) ...
fix some cirq.google missing coverage issues (#<I>) Fixes cirq.google coverage issues that came up as I was extracting cirq.google into a separate package (#<I>).
quantumlib_Cirq
train
47a22558e8ac2b3e87f8716d5ef79160d082a9b2
diff --git a/findimports.py b/findimports.py index <HASH>..<HASH> 100755 --- a/findimports.py +++ b/findimports.py @@ -83,7 +83,7 @@ from compiler import ast from compiler.visitor import ASTVisitor -__version__ = '1.0.1' +__version__ = '1.1.0' class ImportFinder(ASTVisitor): @@ -172,6 +172,39 @@ class ImportI...
Add proper scope tracking for --unused and --duplicates. Originally committed <I>-<I>-<I> <I>:<I>:<I> <I> to a different SVN repository (python-tools) as revision <I>.
mgedmin_findimports
train
25ab55f6a79c27793d055358d2a260e41ea3f46a
diff --git a/bin/generate-gutenboarding-design-thumbnails.js b/bin/generate-gutenboarding-design-thumbnails.js index <HASH>..<HASH> 100755 --- a/bin/generate-gutenboarding-design-thumbnails.js +++ b/bin/generate-gutenboarding-design-thumbnails.js @@ -31,12 +31,19 @@ const viewportHeight = 800; // Browser height for cap...
Gutenboarding: Fix generate thumbnails script (#<I>) Follow-up to #<I>, where I missed one instance of `design.src`.
Automattic_wp-calypso
train
dd76fef1e8fd0e73945e6cd2501be99d33170650
diff --git a/spotify/__init__.py b/spotify/__init__.py index <HASH>..<HASH> 100644 --- a/spotify/__init__.py +++ b/spotify/__init__.py @@ -6,19 +6,9 @@ _types = utils._spotify__lookup() from .errors import * from .models import * -_types.update({ - 'artist': Artist, - 'track': Track, - 'user': User, - '...
Update spotify types lookup in models __init__
mental32_spotify.py
train
2dc346ec5d572c1e5547ab483ed96d5bc862e3ca
diff --git a/pymc/sample.py b/pymc/sample.py index <HASH>..<HASH> 100644 --- a/pymc/sample.py +++ b/pymc/sample.py @@ -43,12 +43,21 @@ def sample(draws, step, start=None, trace=None, progressbar=True, model=None, ra draws = int(draws) seed(random_seed) - if start is None and trace is not None and len(tra...
Added support for partial specification of start values
pymc-devs_pymc
train
4c8fa6f0acb27f75f330d7d89ccf6d8b582ba2a2
diff --git a/lib/puppet/network/http/webrick/rest.rb b/lib/puppet/network/http/webrick/rest.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/network/http/webrick/rest.rb +++ b/lib/puppet/network/http/webrick/rest.rb @@ -77,9 +77,6 @@ class Puppet::Network::HTTP::WEBrickREST < WEBrick::HTTPServlet::AbstractServlet ...
(PUP-<I>) Revert "(PUP-<I>) Disable HTTP keepalive in webrick on <I>" This was <I>-specific fix so can be reverted. This reverts commit <I>eb<I>c4e3dbe<I>ede<I>abad<I>b<I>.
puppetlabs_puppet
train
f195f13c3138988eab561b275bca52b11a6a5909
diff --git a/src/system/modules/metamodelsattribute_checkbox/languages/fr/tl_metamodel_attribute.php b/src/system/modules/metamodelsattribute_checkbox/languages/fr/tl_metamodel_attribute.php index <HASH>..<HASH> 100644 --- a/src/system/modules/metamodelsattribute_checkbox/languages/fr/tl_metamodel_attribute.php +++ b/s...
Updated translations from transifex.
MetaModels_attribute_checkbox
train
287a3f5db24607b9bd170e26f3a103fe0b5236b6
diff --git a/src/accounts/views.py b/src/accounts/views.py index <HASH>..<HASH> 100644 --- a/src/accounts/views.py +++ b/src/accounts/views.py @@ -56,7 +56,6 @@ class UserProfileDetailView(UserProfileBaseMixin, DetailView): fields_or_lookup = ( {'collaborators__contains': user.username}, - ...
Checking if data was extract from file b4 sending to template
colab_colab
train
f91c566371e43ad0c8a8788f3a62d337b9ef33e1
diff --git a/tests/Handlers/FatalHandlerTest.php b/tests/Handlers/FatalHandlerTest.php index <HASH>..<HASH> 100644 --- a/tests/Handlers/FatalHandlerTest.php +++ b/tests/Handlers/FatalHandlerTest.php @@ -30,6 +30,10 @@ class FatalHandlerTest extends BaseRollbarTest $this->markTestSkipped("Fatal Errors are n...
github-<I>: fatal errors are not used on HHVM just as with php 7+
rollbar_rollbar-php
train
48133c8af61f6884d87ae7fe8258feb1a39cdd4a
diff --git a/SoftLayer/CLI/modules/cdn.py b/SoftLayer/CLI/modules/cdn.py index <HASH>..<HASH> 100644 --- a/SoftLayer/CLI/modules/cdn.py +++ b/SoftLayer/CLI/modules/cdn.py @@ -90,8 +90,8 @@ Required: def execute(self, args): manager = CDNManager(self.client) - manager.load_content(args.get('<accou...
Some pep changes and logics Add maximum constants
softlayer_softlayer-python
train
8ac478f4f6da314e7bcbdbee8372cc18b1108517
diff --git a/examples/navigation-guards/app.js b/examples/navigation-guards/app.js index <HASH>..<HASH> 100644 --- a/examples/navigation-guards/app.js +++ b/examples/navigation-guards/app.js @@ -38,7 +38,10 @@ const Baz = { </div> `, beforeRouteLeave (to, from, next) { - if (this.saved || window.confirm('...
fix: make callback of next in beforeRouterEnter more consistent (#<I>) Fixes #<I> Closes #<I>
vuejs_vue-router
train
e2dcdd1ffd65e70138b303820892fb781bf68c51
diff --git a/bound.go b/bound.go index <HASH>..<HASH> 100644 --- a/bound.go +++ b/bound.go @@ -295,3 +295,15 @@ func (b *Bound) Clone() *Bound { func (b *Bound) String() string { return fmt.Sprintf("[[%f, %f], [%f, %f]]", b.sw.X(), b.ne.X(), b.sw.Y(), b.ne.Y()) } + +// ToMysqlPolygon converts the bound into a polyg...
Add bound to mysql helpers
paulmach_go.geo
train
2a0fb12b98a65c460c0a2e95c56ae4cb871b7794
diff --git a/ionic-core.js b/ionic-core.js index <HASH>..<HASH> 100644 --- a/ionic-core.js +++ b/ionic-core.js @@ -144,7 +144,31 @@ angular.module('ionic.service.core', []) if (!opts.gcm_id){ opts.gcm_id = 'None'; } - app = opts; + if (opts.app_id && opts.api_key) { + // Angular $http isn't ...
Write key grabbing from config, actually working
ionic-team_ionic-service-core
train
609b86ab7c226d80501aa10a0830d10eb0e371bf
diff --git a/src/job.js b/src/job.js index <HASH>..<HASH> 100644 --- a/src/job.js +++ b/src/job.js @@ -269,14 +269,21 @@ Job.prototype._emit = function(type, msg, r) { Job.prototype.remove = function(cb) { var r = this.redis.multi(); this._remove(r); - r.exec(cb); + + if(r.queue.length > 2){ + r.exec(cb);...
Update Job removal to make more efficient use of redis If the MULTI is only going to execute a single command, extract that command and run it directly rather than bothering with the overhead of MULTI and EXEC and the locking that comes with it. And if it's empty, don't do anything at all.
simontabor_qp
train
8f26e2874bc096335334ee12aee1a0a3ca938687
diff --git a/proso_user/models.py b/proso_user/models.py index <HASH>..<HASH> 100644 --- a/proso_user/models.py +++ b/proso_user/models.py @@ -373,6 +373,7 @@ class ScheduledEmailManager(models.Manager): ) email.status = ScheduledEmail.STATUS_SENT except SMTPEx...
log exception when there is smtp error
adaptive-learning_proso-apps
train
4732f0a67ea0d89e4c38e777a83bcda64b5e4f0b
diff --git a/ui/src/components/field/QField.js b/ui/src/components/field/QField.js index <HASH>..<HASH> 100644 --- a/ui/src/components/field/QField.js +++ b/ui/src/components/field/QField.js @@ -479,6 +479,8 @@ export default Vue.extend({ }, __clearValue (e) { + this.focused = false + // prevent...
fix(QField): set field as not focused when pressing clear #<I> (#<I>) If the QField is focusable it will refocus, else it will remain unfocused.
quasarframework_quasar
train
0f8a74be131cba94c79555ca680ab1a994721c3a
diff --git a/src/actions/editorialWorkflow.js b/src/actions/editorialWorkflow.js index <HASH>..<HASH> 100644 --- a/src/actions/editorialWorkflow.js +++ b/src/actions/editorialWorkflow.js @@ -246,7 +246,7 @@ export function persistUnpublishedEntry(collection, existingUnpublishedEntry) { dispatch(unpublishedEntryP...
only rebase EW PR if no asset store Editorial workflow pull requests are rebased if the base has changed to ensure that asset changes on the base branch are reflected in the PR branch, but if an asset store is in use, no rebasing is necessary because assets are stored outside of the content repo.
netlify_netlify-cms
train
48dd3fa5bf5b1e53d8707e17bb95903d7a2f98b7
diff --git a/flask_security/forms.py b/flask_security/forms.py index <HASH>..<HASH> 100644 --- a/flask_security/forms.py +++ b/flask_security/forms.py @@ -10,6 +10,7 @@ """ import inspect +import urlparse from flask import request, current_app from flask.ext.wtf import Form as BaseForm, TextField, PasswordField...
NextFormMixin security bug fixed: open redirect NextFormMixin was missing validations check on redirection [1]. Only internal redirections are now allowed. Attack Example: <URL> wq [1] <URL>
mattupstate_flask-security
train
a8eb4adf66b3db30fa51356ead973ffc03993228
diff --git a/hazelcast/src/test/java/com/hazelcast/map/mapstore/MapStoreTest.java b/hazelcast/src/test/java/com/hazelcast/map/mapstore/MapStoreTest.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/test/java/com/hazelcast/map/mapstore/MapStoreTest.java +++ b/hazelcast/src/test/java/com/hazelcast/map/mapstore/MapStor...
give a rest to cpu
hazelcast_hazelcast
train
22d7ea073276e80f3b40b7054717c432d4088394
diff --git a/pino-mongodb.js b/pino-mongodb.js index <HASH>..<HASH> 100755 --- a/pino-mongodb.js +++ b/pino-mongodb.js @@ -23,14 +23,13 @@ params.user = process.env.DB_USER || params.user params.pass = process.env.DB_PASS || params.pass MongoClient.connect(makeMongoOptions(params), onConnection) +process.stdin.pipe...
Remove process stdin resume and encoding which are default anyway
pinojs_pino-mongodb
train
850a4ecf3f6d02638f7fc2253843d03882960ab8
diff --git a/src/main/java/org/kaazing/gateway/client/impl/wseb/WebSocketEmulatedHandler.java b/src/main/java/org/kaazing/gateway/client/impl/wseb/WebSocketEmulatedHandler.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/kaazing/gateway/client/impl/wseb/WebSocketEmulatedHandler.java +++ b/src/main/java/org/kaaz...
fixed an issue where WebSocket connect did not get established when connection was forced to long polling mode using .ki=p. Removed call to reconnect as soon as reconnect command is decoded in downstream. Reconnect should happen only after the request is loaded.
kaazing_java.client
train
9800b7bae807f27723854647a31149213badb594
diff --git a/server/webapp/WEB-INF/rails.new/spec/javascripts/gocd-link-support-spec.js b/server/webapp/WEB-INF/rails.new/spec/javascripts/gocd-link-support-spec.js index <HASH>..<HASH> 100644 --- a/server/webapp/WEB-INF/rails.new/spec/javascripts/gocd-link-support-spec.js +++ b/server/webapp/WEB-INF/rails.new/spec/jav...
Analytics - added support to handle request from plugin to link to (#<I>) vsm_page and stage details page
gocd_gocd
train
291218db30363a25258a5be2fb7db844416f0fb4
diff --git a/README.rst b/README.rst index <HASH>..<HASH> 100644 --- a/README.rst +++ b/README.rst @@ -49,6 +49,13 @@ Default time unit is the second, but you can specify it explicitly, e.g. 1s, 100 - All other tests will be highlighted in red. +How do I turn off pretty colors? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ...
Added `--timer-no-color` option for non-tty usage * Added a --timer-no-color option to disable colors; * Added option description to the documentation; * Updated unit tests.
mahmoudimus_nose-timer
train
51a6c3ecca1b80edecd5d5b887abc60885cf6c35
diff --git a/tests/acceptance/operative-test.js b/tests/acceptance/operative-test.js index <HASH>..<HASH> 100644 --- a/tests/acceptance/operative-test.js +++ b/tests/acceptance/operative-test.js @@ -77,6 +77,7 @@ test('Plan and report creation', function(assert) { click('.modal-footer button:contains(Ok)'); ...
fix: fixed edit operative plan title test
HospitalRun_hospitalrun-frontend
train
c161750e9d8b671ebd0eb07e766800e112f12dbd
diff --git a/evcache-client/src/main/java/com/netflix/evcache/EVCacheImpl.java b/evcache-client/src/main/java/com/netflix/evcache/EVCacheImpl.java index <HASH>..<HASH> 100644 --- a/evcache-client/src/main/java/com/netflix/evcache/EVCacheImpl.java +++ b/evcache-client/src/main/java/com/netflix/evcache/EVCacheImpl.java @...
For the default add call changed the policy to none During fixup set operation latch will not be used
Netflix_EVCache
train
e4e0b3122bf4a93917130233c5887d5a2fd3cdf2
diff --git a/test/worker_test.rb b/test/worker_test.rb index <HASH>..<HASH> 100644 --- a/test/worker_test.rb +++ b/test/worker_test.rb @@ -8,6 +8,7 @@ class WorkerTest < Minitest::Test [true, false].each do |test_mode| setup do BatchJob::Config.test_mode = test_mode + @server = BatchJob::Ser...
Work on tests Move to before events when model is modified
rocketjob_rocketjob
train
e9695aa8ab787e864558ee934777afb59dbee4cc
diff --git a/structr-rest/src/main/java/org/structr/rest/serialization/StructrJsonHtmlWriter.java b/structr-rest/src/main/java/org/structr/rest/serialization/StructrJsonHtmlWriter.java index <HASH>..<HASH> 100644 --- a/structr-rest/src/main/java/org/structr/rest/serialization/StructrJsonHtmlWriter.java +++ b/structr-re...
Fixes NullPointerException which occurs when there is a dynamic relationship of type CONTAINS between a dynamic type which extends Folder and a dynamic type which extends File.
structr_structr
train
733d0212af52d621bb820415f7d446dae5352ca2
diff --git a/core/src/main/java/com/google/errorprone/refaster/Inliner.java b/core/src/main/java/com/google/errorprone/refaster/Inliner.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/google/errorprone/refaster/Inliner.java +++ b/core/src/main/java/com/google/errorprone/refaster/Inliner.java @@ -23,7 +23,...
Update version check this fix was backported to JDK <I>u, which makes this work-around kind of dicey. PiperOrigin-RevId: <I>
google_error-prone
train
7b8dd76d33ad6437b919bfa85354fd4a4a476b7d
diff --git a/lib/Widget/Db/Record.php b/lib/Widget/Db/Record.php index <HASH>..<HASH> 100644 --- a/lib/Widget/Db/Record.php +++ b/lib/Widget/Db/Record.php @@ -233,15 +233,4 @@ class Record extends AbstractWidget } return $this; } - - /** - * A helper method to find a record - * - *...
removed find helper to avoid missing using
twinh_wei
train
637cf7c65f912e202c059dcf0def8421370fcf3d
diff --git a/test/test-extensions.js b/test/test-extensions.js index <HASH>..<HASH> 100644 --- a/test/test-extensions.js +++ b/test/test-extensions.js @@ -383,6 +383,14 @@ goog.require('ol.has'); }; function resembleCanvas(canvas, referenceImage, tolerance, done) { + if (showMap) { + var wrapper = docum...
Allow reference image creation without existing reference image
openlayers_openlayers
train
ec77fc538a4734bd76133da9bec73911529b3972
diff --git a/gossip/state/state.go b/gossip/state/state.go index <HASH>..<HASH> 100644 --- a/gossip/state/state.go +++ b/gossip/state/state.go @@ -596,7 +596,7 @@ func (s *GossipStateProviderImpl) antiEntropy() { continue } - s.requestBlocksInRange(uint64(ourHeight), uint64(maxHeight)) + s.requestBlocksI...
[FAB-<I>] State request to request open range This commit changes the way gossip creates state requests, it avoids to send state request which considers peers ledger height as next available block sequence number to request from remote. UT is adjasted accordingly. Change-Id: Ic<I>c<I>c<I>c<I>d2b6f<I>dfaf<I>
hyperledger_fabric
train
8880015dabcdb662d4e3533daaa55edbd6123d60
diff --git a/lib/common/constants.js b/lib/common/constants.js index <HASH>..<HASH> 100644 --- a/lib/common/constants.js +++ b/lib/common/constants.js @@ -44,7 +44,6 @@ function constantsFactory (path) { Configuration: { Files: { Global: process.env.MONORAIL_CONFIG || '/opt/monora...
RAC-<I> - Clean up configuration-related logs - Raises an exception when the configuration fails during nconf load. Previous message was based on files existence. - Remove obsolete references to OnRack configurations - Add spec test for Dell configuration
RackHD_on-core
train
66d1bf97474337ed6cf707d0bd1e4356addf8a53
diff --git a/test/component.spec.js b/test/component.spec.js index <HASH>..<HASH> 100644 --- a/test/component.spec.js +++ b/test/component.spec.js @@ -158,6 +158,19 @@ describe("Component", function () { expect(labelDetached).toBe(1); document.body.removeChild(wrap); + + // dispose a unattach...
add expect when dispose a unattach component
baidu_san
train
faeba190537fe1b3e0ee2b2c985ebb5253ff5f25
diff --git a/server/src/main/java/org/cloudfoundry/identity/uaa/util/UaaUrlUtils.java b/server/src/main/java/org/cloudfoundry/identity/uaa/util/UaaUrlUtils.java index <HASH>..<HASH> 100644 --- a/server/src/main/java/org/cloudfoundry/identity/uaa/util/UaaUrlUtils.java +++ b/server/src/main/java/org/cloudfoundry/identity...
Fix base URL generation As reported in cloudfoundry/uaa#<I>, when the login hostname begins with login, then generation of the redirect_uri sent to OIDC providers should look like this before urlencoding: <URL>
cloudfoundry_uaa
train
b7915b04528c66fcfc4f88f8f7853a8ebeda6c1b
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -41,6 +41,7 @@ class PathObservationTestCase(unittest.TestCase): import time while not observer.isAlive(): time.sleep(0.1) + time.sleep(0.1) f.flush() time.sleep(0.2)
It seems we sometimes have to delay flushing the file before the event stream starts picking up changes.
malthe_macfsevents
train
36c8ad5c7fafbadaeb82a78643fe03e52d40de8c
diff --git a/ramp/features/text.py b/ramp/features/text.py index <HASH>..<HASH> 100644 --- a/ramp/features/text.py +++ b/ramp/features/text.py @@ -229,7 +229,7 @@ class NgramCounts(Feature): dct = self.get_prep_data(data) data = get_single_column(data) docs = [dct.doc2bow(d) for d in data] - ...
Reworking Predictions feature for new context
kvh_ramp
train
6d56b25114808aea7253c4e01fe5a0a856023a37
diff --git a/src/Extension/RouterExtension.php b/src/Extension/RouterExtension.php index <HASH>..<HASH> 100644 --- a/src/Extension/RouterExtension.php +++ b/src/Extension/RouterExtension.php @@ -31,19 +31,21 @@ class RouterExtension extends Extension { $container->register('router.parser', 'FastRoute\Rout...
Updated RouterExtension with new services
nice-php_framework
train
dbe005e24f0996ea571397c53469ad2015b56f43
diff --git a/ontrack-web/src/app/view/view.project.js b/ontrack-web/src/app/view/view.project.js index <HASH>..<HASH> 100644 --- a/ontrack-web/src/app/view/view.project.js +++ b/ontrack-web/src/app/view/view.project.js @@ -18,6 +18,12 @@ angular.module('ot.view.project', [ function loadBranches() { ...
Branch status view - calling the status
nemerosa_ontrack
train
77a19cd9d4ed88a79f45d439ad02fa1c8c717ec7
diff --git a/lease/doc.go b/lease/doc.go index <HASH>..<HASH> 100644 --- a/lease/doc.go +++ b/lease/doc.go @@ -12,5 +12,5 @@ // See the License for the specific language governing permissions and // limitations under the License. -// Package lease provides an interface and implemetation for time-limited leases over...
lease: fix typos a. fix typo in godoc b. make receiver of FakeLessor's function identical
etcd-io_etcd
train
16219358e2dbd94aa4d152daa7eb4da03157cf00
diff --git a/jax/lax_linalg.py b/jax/lax_linalg.py index <HASH>..<HASH> 100644 --- a/jax/lax_linalg.py +++ b/jax/lax_linalg.py @@ -103,9 +103,6 @@ def cholesky_jvp_rule(primals, tangents): sigma_dot, = tangents L = np.tril(cholesky_p.bind(x)) - if sigma_dot is ad_util.zero: - return L, ad_util.zero - # F...
Remove unnecessary zero checks from JVP rules in lax_linalg (#<I>) I'm pretty sure all of these are dead code that can no longer be triggered, e.g., as evidenced by their use of no longer existing `core.pack` and `ad.TangentTuple`.
tensorflow_probability
train
247ee008c5afd492b7ee63a64b37d147e33f27f9
diff --git a/simulator/src/main/java/com/hazelcast/simulator/worker/testcontainer/TimeStepRunStrategy.java b/simulator/src/main/java/com/hazelcast/simulator/worker/testcontainer/TimeStepRunStrategy.java index <HASH>..<HASH> 100644 --- a/simulator/src/main/java/com/hazelcast/simulator/worker/testcontainer/TimeStepRunStr...
TimestepRunStategy minor cleanup
hazelcast_hazelcast-simulator
train
d511e737eb83ac652e52ad6696c39e722b6bd6a3
diff --git a/dtool_config/cli.py b/dtool_config/cli.py index <HASH>..<HASH> 100644 --- a/dtool_config/cli.py +++ b/dtool_config/cli.py @@ -98,7 +98,7 @@ def get(scheme): """Print the cache directory of the specific storage scheme.""" click.secho(dtool_config.utils.get_cache( CONFIG_PATH, - sch...
Add cache 'ls' and 'set_all' commands
jic-dtool_dtool-config
train
eed35df7a427c7f3e346b6e29ba87b6ca8635561
diff --git a/python/mcp/__init__.py b/python/mcp/__init__.py index <HASH>..<HASH> 100644 --- a/python/mcp/__init__.py +++ b/python/mcp/__init__.py @@ -30,8 +30,3 @@ class Enum(object): yield (key, val) -class Pin(Enum): - def __init__(self, id): - """ id type is likely platform-specific""...
Moved Pin definition back so that __module__ properly rendered by repr(). Fear of circular dependency was red herring - was just too many levels of recursion.
adafruit_Adafruit_Blinka
train
3771e62ea24227b9316b0616e34a11535db1eec6
diff --git a/src/EditorconfigChecker/Validation/IndentationValidator.php b/src/EditorconfigChecker/Validation/IndentationValidator.php index <HASH>..<HASH> 100644 --- a/src/EditorconfigChecker/Validation/IndentationValidator.php +++ b/src/EditorconfigChecker/Validation/IndentationValidator.php @@ -13,15 +13,17 @@ class...
CLEANUP: Fix psr2-issues(<I>chars)
editorconfig-checker_editorconfig-checker.php
train
03d657d5d65f553181371e7c9b8be31cb528556d
diff --git a/adaptors/backbone/base_collection.js b/adaptors/backbone/base_collection.js index <HASH>..<HASH> 100644 --- a/adaptors/backbone/base_collection.js +++ b/adaptors/backbone/base_collection.js @@ -100,6 +100,13 @@ var BaseCollection = Backbone.Collection.extend({ /* develblock:start */ // Certain me...
Changing override checks to call offending function to ensure app functionality isn't broken
wayfair_tungstenjs
train
2c04dfba8ba2fe309ff1a41662e182eb1e4dcc21
diff --git a/benchexec/tools/smack.py b/benchexec/tools/smack.py index <HASH>..<HASH> 100644 --- a/benchexec/tools/smack.py +++ b/benchexec/tools/smack.py @@ -28,7 +28,7 @@ class Tool(benchexec.tools.template.BaseTool): Sets the version number for SMACK, which gets displayed in the "Tool" row in Bench...
SMACK now prints version to stdout
sosy-lab_benchexec
train
14b6eaad027e5cf34d32470e4d15c68af58d6585
diff --git a/riemann_client/client.py b/riemann_client/client.py index <HASH>..<HASH> 100644 --- a/riemann_client/client.py +++ b/riemann_client/client.py @@ -37,7 +37,7 @@ class Client(object): def send_event(self, event): """Wraps an event in a message and sends it to Riemann""" message = riema...
Edited protobuf code to be compatible with protobuf <I> CentOS 6 distributes protobuf <I>, and this should be compatible with both the most recent version and the older version CentOS packages.
borntyping_python-riemann-client
train
962a04792d14de92861c7e2b66039f134ef6d536
diff --git a/leaderboard/__init__.py b/leaderboard/__init__.py index <HASH>..<HASH> 100644 --- a/leaderboard/__init__.py +++ b/leaderboard/__init__.py @@ -1,5 +1,4 @@ from redis import Redis, ConnectionPool -from copy import deepcopy import math from itertools import izip_longest @@ -46,7 +45,7 @@ class Leaderboar...
don't deepcopy options If you pass in a redis connection pool and have Leaderboard deepcopy it each init it will have major performance degradation.
agoragames_leaderboard-python
train
b3fbd7047728ee93ccd514fc1d9e4aeb6a950c66
diff --git a/src/libphonenumber/PhoneNumberUtil.php b/src/libphonenumber/PhoneNumberUtil.php index <HASH>..<HASH> 100644 --- a/src/libphonenumber/PhoneNumberUtil.php +++ b/src/libphonenumber/PhoneNumberUtil.php @@ -971,8 +971,13 @@ class PhoneNumberUtil /** * Appends the formatted extension of a phone number...
Pass type hinting in PHPDoc instead of the function
giggsey_libphonenumber-for-php
train
172d8b64f9078901bc2c573f0f791fbb879b10ff
diff --git a/lib/klam/reader.rb b/lib/klam/reader.rb index <HASH>..<HASH> 100644 --- a/lib/klam/reader.rb +++ b/lib/klam/reader.rb @@ -31,16 +31,16 @@ module Klam items = [] stack.push items when Klam::Lexer::CloseParen - list = arrayToList(stack.pop) + array = stack.pop...
Properly read nested lists Corrected the spec to be expecting the correct behavior and the code to provide that behavior.
gregspurrier_klam
train
c25621af46c94ad20b453da1639f77afe9fecbd4
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -49,17 +49,15 @@ mediator.prototype = { } }, - aniIn: function( onComplete ) { - - this.doAni( 'aniIn', onComplete ); + aniIn: function( data, onComplete ) { + this.doAni( 'aniIn', data, onComplete ); }, - ani...
- Added data to all calls
bigwheel-framework_bw-viewmediator
train
c5228939e9db0cbe258f1b8015bbceb9a4f118ca
diff --git a/transforms/deps.js b/transforms/deps.js index <HASH>..<HASH> 100644 --- a/transforms/deps.js +++ b/transforms/deps.js @@ -4,7 +4,12 @@ var detective = require('detective') module.exports = function(mod, graph) { if (graph.noParse(mod.id)) return - var deps = detective(mod.source) + + try { + var...
Deps transform now ignores errors This is made not to throw an error on non-js files. Syntax check should be done later.
andreypopp_dgraph
train
0032babf4ab9a23a82125786d0d759b172f66ba5
diff --git a/config/trustedproxy.php b/config/trustedproxy.php index <HASH>..<HASH> 100644 --- a/config/trustedproxy.php +++ b/config/trustedproxy.php @@ -15,7 +15,7 @@ return [ * of your proxy (e.g. if using ELB or similar). * */ - 'proxies' => null, // [<ip addresses>,], '*' + 'proxies' => nul...
adding support for AWS ELB. Accept IPs separated by comma.
fideloper_TrustedProxy
train
5069d0b8504782bd51e61137fc6c2a7bedc50789
diff --git a/Translate/Method/Translator.php b/Translate/Method/Translator.php index <HASH>..<HASH> 100644 --- a/Translate/Method/Translator.php +++ b/Translate/Method/Translator.php @@ -185,7 +185,8 @@ class Translator extends Method implements MethodInterface $client->getDefaultOption('target') ...
Extract JSON from Guzzle psr7 Response.
eko_GoogleTranslateBundle
train
11fd0add7a0dd494d48f0600085f1cf110bb116e
diff --git a/includes/class-freemius.php b/includes/class-freemius.php index <HASH>..<HASH> 100755 --- a/includes/class-freemius.php +++ b/includes/class-freemius.php @@ -1920,7 +1920,7 @@ self::$_global_admin_notices = FS_Admin_Notice_Manager::instance( 'global' ); - add_action( 'admin_menu', array( 'Free...
[multisite] [debug] Allow accessing the debug page from the network admin (for super admins).
Freemius_wordpress-sdk
train
4cbd7dbfbf770afe7c89c36d8cc6788178b697d1
diff --git a/pycbc/strain.py b/pycbc/strain.py index <HASH>..<HASH> 100644 --- a/pycbc/strain.py +++ b/pycbc/strain.py @@ -44,6 +44,9 @@ def detect_loud_glitches(strain, psd_duration=16, psd_stride=8, if output_intermediates: strain.save_to_wav('strain_conditioned.wav') + # don't waste time trying to...
autogating: don't do slow FFTs
gwastro_pycbc
train
0fd3f42f71c19ae75348425686a2fe68ffe04fec
diff --git a/notifications/apps.py b/notifications/apps.py index <HASH>..<HASH> 100644 --- a/notifications/apps.py +++ b/notifications/apps.py @@ -5,6 +5,7 @@ from django.apps import AppConfig class Config(AppConfig): name = "notifications" + default_auto_field = 'django.db.models.AutoField' def ready...
Added default auto field in application config
django-notifications_django-notifications
train
058a6b7865259aca13c585b8adb77502b69933d4
diff --git a/neoapi/serializable_structured_node.py b/neoapi/serializable_structured_node.py index <HASH>..<HASH> 100644 --- a/neoapi/serializable_structured_node.py +++ b/neoapi/serializable_structured_node.py @@ -864,9 +864,10 @@ class SerializableStructuredNode(StructuredNode): else: da...
more crud endpoint updates and refactoring
buckmaxwell_neoapi
train
17ecf5fcff1d450d2dbba6bad777839984327d5f
diff --git a/indra/tools/live_curation.py b/indra/tools/live_curation.py index <HASH>..<HASH> 100644 --- a/indra/tools/live_curation.py +++ b/indra/tools/live_curation.py @@ -12,7 +12,6 @@ from indra.statements import stmts_from_json_file logger = logging.getLogger('live_curation') app = Flask(__name__) -default_pr...
Start refactoring Flask app into class
sorgerlab_indra
train
03cf3c2374960ace12d0d386d118e4c9faa35458
diff --git a/pyIOSXR/iosxr.py b/pyIOSXR/iosxr.py index <HASH>..<HASH> 100644 --- a/pyIOSXR/iosxr.py +++ b/pyIOSXR/iosxr.py @@ -356,6 +356,7 @@ class IOSXR(object): """ if self.lock_on_connect or self.locked: self.unlock() + self._xml_agent_acquired = False self.device.remo...
Release the XML agent when closing
fooelisa_pyiosxr
train
e39d328f73300dd2917293d57a3e4159b862d1f5
diff --git a/gitlab_runner/tests/conftest.py b/gitlab_runner/tests/conftest.py index <HASH>..<HASH> 100644 --- a/gitlab_runner/tests/conftest.py +++ b/gitlab_runner/tests/conftest.py @@ -13,6 +13,7 @@ from .common import ( CONFIG, GITLAB_LOCAL_MASTER_PORT, GITLAB_LOCAL_RUNNER_PORT, + GITLAB_MASTER_URL...
gitlab runner better conditions (#<I>) * Add attempts * Check for every log line, check for both enpoints
DataDog_integrations-core
train
6af3a3dcdffc6678a42adda6cf0b986d802ea867
diff --git a/airflow/bin/cli.py b/airflow/bin/cli.py index <HASH>..<HASH> 100755 --- a/airflow/bin/cli.py +++ b/airflow/bin/cli.py @@ -42,7 +42,8 @@ from airflow import configuration as conf from airflow.exceptions import AirflowException from airflow.executors import DEFAULT_EXECUTOR from airflow.models import (Dag...
[AIRFLOW-<I>] Add CLI for CRUD operations on pools Dear Airflow Maintainers, Please accept this PR that addresses the following issues: - <URL>
apache_airflow
train
c877e2f6927262c1c9f1b5014b28ec0f47c28876
diff --git a/typedload/dataloader.py b/typedload/dataloader.py index <HASH>..<HASH> 100644 --- a/typedload/dataloader.py +++ b/typedload/dataloader.py @@ -23,7 +23,6 @@ Module to load data into typed data structures import datetime import ipaddress -from enum import Enum from pathlib import Path from typing impor...
Remove unused import added by mistake during rebase
ltworf_typedload
train
99f169d2a0f43b86185be194aee3f6cd67e7da3c
diff --git a/restcomm/restcomm.rvd/src/main/java/org/mobicents/servlet/restcomm/rvd/RvdConfiguration.java b/restcomm/restcomm.rvd/src/main/java/org/mobicents/servlet/restcomm/rvd/RvdConfiguration.java index <HASH>..<HASH> 100644 --- a/restcomm/restcomm.rvd/src/main/java/org/mobicents/servlet/restcomm/rvd/RvdConfigurati...
Fixes #<I>. Used the port of the incoming authentication request under the assumption that RVD and Restcomm run on the same port.
RestComm_Restcomm-Connect
train
74c9f514ab3d609fb07cb1e624c61f457cfbaaa4
diff --git a/auth/cas/auth.php b/auth/cas/auth.php index <HASH>..<HASH> 100644 --- a/auth/cas/auth.php +++ b/auth/cas/auth.php @@ -372,14 +372,15 @@ if ( !is_object($PHPCAS_CLIENT) ) { if ($value == 'dn') { $result[$key] = $user_dn; } - if (!array_ke...
pb case sensitive when get ldap attribute
moodle_moodle
train
2160fb4f917fb9f843c2bbd11093cbb1c2873482
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb index <HASH>..<HASH> 100644 --- a/lib/chef/knife.rb +++ b/lib/chef/knife.rb @@ -27,6 +27,7 @@ require 'chef/knife/core/subcommand_loader' require 'chef/knife/core/ui' require 'chef/local_mode' require 'chef/rest' +require 'chef/http/authenticator' require 'pp' c...
Nice error formatting for unsupported API version in Knife.
chef_chef
train